Skip to content

joelmedeiros/simple-api-sf4

Repository files navigation

Getting started

You will need Docker and Docker-Compose installed to build this application.

Run the commands below on your favorite terminal inside the project folder:

docker-compose up -d
docker-compose exec php composer install

Running the tests

All tests were written using codeception library, then we need to use its commands to run all tests:

docker-compose exec php vendor/bin/codecept run

For this task, I did not write Unit tests, because In my concern, It was not needed.

After run the tests, some data will be generated to be used by our API.

API

The routes are available by the command:

 docker-compose exec php bin/console debug:router

And you can use as well your postman, importing the collection in the root folder of this project.

About

Simple API with dockerized Symfony 4 + mongodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published