OFPPT Evening Courses
Official evening-courses website with full CMS, multi-role admin, multilingual support and theme system
Overview
This is the official web presence for OFPPT's evening training programmes. It serves prospective students with course catalogues and registration info, while giving administrators full control over content through a built-in CMS.
Tech Stack
- Back-End: Laravel
- Front-End: React + Inertia.js (SPA-like navigation without a separate API)
- Database: MySQL
Key Features
- Full CMS: Create, update, publish and archive courses, news articles and static pages from an admin dashboard
- Multi-role administration: Super-admin, content editor and moderator roles with distinct permissions
- Multilingual support: Content available in Arabic, French and English; language switching without page reload
- Theme system: Light and dark themes switchable by the visitor; admin-configurable accent colours per section
- SEO-friendly: Server-side rendered pages via Inertia.js ensure crawlable HTML for every route
- Responsive design: Mobile-first layout optimised for students accessing on phones
Architecture
Inertia.js bridges Laravel and React — the server renders the initial HTML response and subsequent navigations are handled as JSON payloads, giving the feel of an SPA without a separate API layer. Multilingual content is stored in a translations table keyed by locale, loaded dynamically on the front-end.