/paths-api

Paths (user goals) microservice with API

Primary LanguagePHP

Paths API

Microservice for handling paths (collections) of goals as an entity for other applications. You can add, remove and list goals on a certain path. The service is deployable to Docker Cloud. Written with usage of PHP7, Symfony 3 and MongoDB.

Deploy to Docker Cloud

Build Status

Requirements

Docker Toolbox (For OS X) or Docker with docker-compose on Linux

Running

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 paths.dev

Skills documentation api should be available at http://paths.dev/api/doc

Available Endpoints

  • [GET] /api/v1/paths/:userId

Testing

docker-compose run web bin/phpspec run