We present project 8 of the PHP/Symfony application developer course. Enhance an existing ToDo & Co app.
Project basis: projet8-TodoList
This project was developed with PHP 8.1, it integrates the bootstrap, datatables and jquery libraries.
- A machine with at least PHP 8.1.
- Composer.
- Symfony CLI.
NOTE : I used WAMP Server on local.
- Clone or download the repository
- Duplicate and rename the
.env
file to.env.local
and modify the necessary information and choose your database (APP_ENV
,APP_SECRET
, ...) - Install the dependencies with
symfony composer install --optimize-autoloader
- Run migrations with
symfony console doctrine:migrations:migrate --no-interaction
- Add default datasets with
symfony console doctrine:fixtures:load --no-interaction
- Locally run your server like WAMP SERVER
- Run the app with
symfony serve -d
- Admin Credentials :
Admin
andpassword
- User Credentials :
User
andpassword
- Task Crud
- Task status and task pannel info update in ajax
- login
- Admin dashbord
- Manage tasks according to the owner
- Bootstrap v5
- First create a
.env.test.local.
file for your test environment datas and create your test database:
php bin/console --env=test doctrine:database:create
php bin/console --env=test doctrine:fixtures:load --append
- Then run the tests:
./vendor/bin/phpunit tests
You can add this flag to generate a HTML render of your tests.
--coverage-html public/test-coverage
- If you would like to contribute to this project, please read
CONTRIBUTING.md
- Bootstrap - Framework CSS (front-end)
- DataTables - Javascript library (front-end)
- Composer - Dependancy manager
- Visual Studio code - Code editor
- Ishake FOUHAL alias @IF-WEB-DEV