A starter project with Node.js, Koa, MongoDB
├── apidocs
├── app
│ ├── controllers
│ ├── helpers
│ ├── middlewares
│ ├─── strategies
│ ├── models
│ ├─── plugins
│ ├── routes
│ ├── services
│ ├── tools
│ ├─── seed
│ ├── workers
├── config
│ ├── locales
├── .eslintignore
├── .eslintrc
├── .gitignore
├── app.js
├── CHANGELOG.md
├── LICENSE
├── NOTED.txt
├── package.json
├── README.md
└── start
Install Node Modules
Koa requires node v7.6.0 or higher for ES2015 and async function support.
npm install
Make sure installed redis in your server/laptop
In folder config place your config, example config is fivecode.json
Seeds data :
NODE_ENV=fivecode node app/tools/seed/index.js
Generate doc :
apidoc -i app/ -o apidoc/
. start
- OAuth2 Resource Owner Password Credentials Grant
- ....
Five Code Development (https://www.five-code.com)