How aznida/brevet works
Project type and purpose
• This is a full-stack web application built on Laravel with Inertia.js and Vue.js.
• From the controllers (app/Http/Controllers/Admin & Participant), models (app/Models), and Vue pages (resources/js/Pages/Admin, resources/js/Pages/Participant), the app’s domain is an online exam/assessment system. Administrators can create exams, sessions, questions, import/export data, assign performance assessments and generate reports. Participants can log in, take exams (theory & practical), and view results.
File structure
• Top-level “app” directory holds the MVC backend: Controllers (split into Admin vs. Participant), Models, Actions (Fortify authentication logic), Imports/Exports (Excel import/export).
• “resources/js” contains the frontend: Vue single-file components under Components, Layouts (Admin, Auth, Participant), and Pages (again Admin vs. Participant areas).
• “public” holds the built assets (CSS/JS) produced by Vite (vite.config.js) and is the webroot served via public/index.php.
• “config”, “database/migrations”, “seeders” show database setup (MySQL or similar). “.env.example” configures DB, mail, cache, queues, etc.
• Laravel Fortify handles authentication. Excel import/export uses Laravel-Excel (config/excel.php).
Detail without over-complicating
• Middleware layer (HandleInertiaRequests, AuthParticipant).
• Vite build process as part of the asset pipeline.
• Keep it readable: focus on core components first, then add secondary services (queue, mail) as needed.