A simple API to CRUD users
- PHP 7.4.1
- MySQL 5.7
- PHPUnit 3.7
- Composer 1.9.2
- Excecute the
composer installcommand - Configure the database in database\DB class
- run the
php -S localhost:3000command in the public directory of the project
- (GET) /user => Show all user in database
- (GET) /user/:id => Show one user with the respective id
- (POST) /user/ => Create a new user
- (PUT) /user/:id => Update one user
- (DELETE) /user/:id -> Delete one user