karolsojko / skills-api

Skills microservice with API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skills API

Microservice for handling skills as an entity for other applications. You can add, remove and list skills. 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 skills.dev

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

Available Endpoints

  • [GET] /api/v1/skills
  • [POST] /api/v1/skills
  • [DELETE] /api/v1/skills/:skillId

Testing

docker-compose run web bin/phpspec run

About

Skills microservice with API


Languages

Language:PHP 94.9%Language:ApacheConf 4.4%Language:HTML 0.5%Language:Shell 0.3%