That app use Docker and Docker Compose
Required:
- docker: 1.10.3
- docker-compose: 1.6.2
docker-compose -f docker-compose.yml build
docker-compose -f docker-compose.ci.yml build
docker-compose -f docker-compose.prod.yml build
npm start
Restart container when a files has changed automatically.
or
npm run prod
Api doc is available on http://host:port/api/v1
npm run test-dev
Use this command with npm start (start in other terminal)
or
npm run test-ci
Use this command when no container is running
This repo was connected to Cirlce CI. (see ci badge)
- ES6
- Node 6
- Express
- Mongoose
- ApiDocJs
- Mocha
- Chai
- Sinon
- Supertest
- Docker
- Docker-Compose
- Circle-ci
- Bithound
- Eslint + airbnb rules