Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geoffroydutot/todo-co-oc-p8

Project 8 of Openclassrooms PHP - Symfony formation
https://github.com/geoffroydutot/todo-co-oc-p8

audit fixtures mysql openclassrooms php74 phpunit poo symfony4 testing twig uml-diagrams unit-test

Last synced: about 14 hours ago
JSON representation

Project 8 of Openclassrooms PHP - Symfony formation

Awesome Lists containing this project

README

        

# ToDo-Co-OC-P8
## Author
[Geoffroy Dutot](https://geoffroydutot.fr) - 2021

[[email protected]](mailto:[email protected])
## Badge
Code Coverage Total : ![Codacy Badge](public/img/code-coverage.png)
## Introduction
This project is the 9th project of the [Developer PHP / Symfony](https://openclassrooms.com/fr/paths/59-developpeur-dapplication-php-symfony) formation of [Openclassrooms](https://openclassrooms.com/).

The goal of this project is to upgrade an existing PHP / Symfony 3.1 application.

The website is a TO DO List App to manage team's tasks. We have to fix anomalies, upgrade to a new Symfony version, add new fixtures, test the code, document and reduce technical debt.

We also need to make UML's diagram's, quality and performance audit and suggest improvements.

## Build with

- Symfony 4.4
- Twig
- PhpUnit

## Requirements

- PHP 7.4
- Composer
- Web server
- MYSQL

## Installation

- Clone / Download the project
- Configure your web server to point on the project directory
- Composer install
- Copy the .env.template file and rename it to .env
- Edit the .env file to connect it with your database server
- Run the command to create the database : `php bin/console doctrine:database:create`

## Test - PhpUnit

- Edit your .env file with test data
- Create the test database : `php bin/console doctrine:database:create`
- Load Fixtures : `php bin/console doctrine:fixtures:load --env=test`
- Run test : `vendor/bin/phpunit --coverage-html public/code-coverage`