- Get the latest version
You can start by cloning the latest version of Koa Mongo Boilerplate on your local machine by running:
$ git clone -o koa-mongo-boilerplate -b master --single-branch \
git@github.com:garagegigs/koa-mongo-boilerplate.git MyService
$ cd MyService
You need to have an access to MongoBD, you can docker-compose to level up an instance
$ docker-compose up -d
Start development server
$ npm run dev
Start production server
$ NODE_ENV=production npm start
Run test
$ npm run test
Run test coverage
# get test coverage
$ npm run cover