Microservice for handling goals as an entity for other applications. You can add, remove and list goals. The service is deployable to Docker Cloud. Written with usage of PHP7, Symfony 3 and MongoDB.
Docker Toolbox (For OS X) or Docker with docker-compose on Linux
install dependencies:
docker-compose run web bash
composer install -n
To run locally
docker-compose up -d
Edit your /etc/hosts
(Default docker-machine ip is 192.168.99.100
- please change if you have a different setup)
192.168.99.100 goals.dev
Goals documentation api should be available at http://goals.dev/api/doc
[GET] /api/v1/goals
[POST] /api/v1/goals
[DELETE] /api/v1/goals/:goalId
[PUT] /api/v1/goals/:goalId
docker-compose run web bin/phpspec run