- Backend : Symfony
- Frontend : React 2025
Ensure that you have a LAMP server with PHP and MySQL installed. Please install Symfony CLI and Composer as well.
- cd backend
- composer install
- symfony server:start
- cd backend
- php bin/console doctrine:database:drop --force
- php bin/console doctrine:database:create
- php bin/console doctrine:schema:update --force
- php bin/console hautelook:fixtures:load --no-interaction
- cd frontend
- npm install
- npm start
Go to http://localhost:3000 to launch project
Thanks to fixtures, you'll have data in your db.
- ROLE_USER :
- email : remi@remi.remi
- password : remi
- ROLE_MANAGER :
- email : manager@manager.manager
- password : remi
- ROLE_ADMIN :
- email : admin@admin.admin
- password : remi
./vendor/bin/php-cs-fixer fix ./vendor/bin/php-cs-fixer fix src/Controller/SecurityController.php
npx prettier --write . npx prettier --write assets/controllers.json
See http://localhost:8000/api/doc/ for the API documentation.