koa-api is a API backend boilerplate with authentication and db.
koa-api requires Node.js v4+ and MongoDB to run.
$ git clone git@github.com:anuragsimgeker/koa-api.git
$ cd koa-api
$ npm i
$ NODE_ENV=production npm start
Go to localhost and you should see "hello world!"
koa-api uses a number of open source projects to work properly:
- koa-js - Expressive middleware for node.js using generators
- mongoosejs - elegant mongodb object modeling for node.js
- koa-jwt - Koa middleware for validating JSON Web Tokens
- And many more…
And of course koa-api itself is open source with a public repository on GitHub.
$ npm test
$ npm run-script coverage
MIT