Créez un web service exposant une API
The API is written in PHP with the Symfony 4 framework.
The API will follow these rules:
- The API only returns JSON responses
- All API routes require authentication
- Authentication is handled via JSON web tokens(JWT)
The application development is based on:
- Symfony v4.0.9
The following bundles/libraries are used:
- PHP 7.1.3 or higher
- Composer
Copy the repository and execute:
composer install
Creating Database:
php bin/console doctrine:database:create
php bin/console doctrine:database:create --env=test
for testing
Creating Database Tables/Schema:
php bin/console doctrine:migrations:migrate
Loading a set of fixtures.:
php bin/console doctrine:fixtures:load
Testing with Behat:
vendor/bin/behat
- Daniel Thébault