Skip to content

tuyetrinhvo/mytodolist

Repository files navigation

ToDoList

======================

SensioLabsInsight Codacy Badge Build Status

Project 8 : Improve an existing Symfony Application

  • Anomaly corrections :

    • Link tasks created to an "anonymous" user.
    • A task must be attached to a user
    • Choose a role for a user
  • New features :

    • Only users who haves admin role able to access the user management pages.
    • Tasks can be deleted only by the users who created these tasks
    • Tasks attached to the "anonymous" user can be deleted onle by users with the administrator role
  • Implementation of automated tests

  • Create the technical documentation

You can find the initial project here :

https://openclassrooms.com/projects/ameliorer-un-projet-existant-1


Installation

Clone or download the repository

Update Composer.json

Create database :

php bin/console doctrine:database:create

php bin/console doctrine:schema:create

php bin/console doctrine:fixtures:load

Link old tasks to an "anonymous" user :

php bin/console update:old:tasks

Install the test database :

php bin/console doctrine:database:create --env=test

php bin/console doctrine:schema:create --env=test

php bin/console doctrine:fixtures:load --env=test

Run the automated tests

php vendor/bin/phpunit

or

./vendor/phpunit/phpunit/phpunit

Create the code coverage with phpunit

vendor/bin/phpunit --coverage-html docs/code-coverage

TuyetrinhVO

About

Improve the api Todo & Co

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published