Microservice Sample using Mongo as a backing store.
- Docker for Mac: 1.13.1 (build: 092cba3)
- NODE: 8.10.0 or greater
- NPM: 5.8.0 or greater
- YARN: 1.5.1 or greater
Environment Options (.env)
Environment Var | Default | Description |
---|---|---|
- Install Packages
$ yarn install
- Startup Local Cassandra DB for development purposes
$ npm run db
- Test the API against Local Cassandra
$ npm run test
- Start the API Locally
$ npm run start
- Build Docker Image
$ npm run build
- Start the API in Docker
$ npm run docker
- Stop the API in Docker
$ npm run docker:clean