This project is a technical assessment demonstrating full-stack development skills using Laravel, React, and Inertia.js. The system includes two main parts: a user management admin panel and a RESTful API for mission booking operations.
This assessment is divided into two parts:
A complete user management system with authentication, CRUD operations, search/filter functionality, and data visualization features. Built using Laravel with Inertia.js and React for the frontend.
A mission booking API following REST principles with Sanctum authentication. Includes CRUD operations for missions, professions, and guard groups.
- Clone the repository
git clone https://github.com/MaherRemita/security-guard-management-system.git- Install PHP dependencies
composer install- Install JavaScript dependencies
npm install- Run migrations and seeder
php artisan migrate --seed- Build frontend assets
npm run build- Start the development servers
php artisan devThe application will be available at http://localhost:8000
Email: [email protected]
Password: password
All business logic is abstracted into service classes (app/Services) to keep controllers lean and focused on HTTP handling. This provides:
- Separation of Concerns: Controllers handle HTTP, Services handle business logic
- Reusability: Services can be used across multiple controllers
- Testability: Business logic can be tested independently
- Maintainability: Changes to business logic are isolated
