Skip to content

Project 8 of my PHP/Symfony Application Developer course at OpenClassrooms. Upgrading and enhancing an existing todo list Symfony app.

Notifications You must be signed in to change notification settings

if-web-dev/Openclassrooms-Project-08-TodoList

Repository files navigation

Openclassrooms-Project-08-TodoList

Codacy Badge

Codacy Badge

We present project 8 of the PHP/Symfony application developer course. Enhance an existing ToDo & Co app.

Project basis: projet8-TodoList

To start

This project was developed with PHP 8.1, it integrates the bootstrap, datatables and jquery libraries.

Prerequisites

  • A machine with at least PHP 8.1.
  • Composer.
  • Symfony CLI.

NOTE : I used WAMP Server on local.

Installation

  • 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

Startup

  • Locally run your server like WAMP SERVER
  • Run the app with symfony serve -d
  • Admin Credentials : Admin and password
  • User Credentials : User and password

Features

  • Task Crud
  • Task status and task pannel info update in ajax
  • login
  • Admin dashbord
  • Manage tasks according to the owner
  • Bootstrap v5

Run the tests

  • 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

Contributing

  • If you would like to contribute to this project, please read CONTRIBUTING.md

Made with

Author

About

Project 8 of my PHP/Symfony Application Developer course at OpenClassrooms. Upgrading and enhancing an existing todo list Symfony app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published