https://github.com/rishichawda/node-koa-boilerplate
NodeJS server with KOA middleware
https://github.com/rishichawda/node-koa-boilerplate
Last synced: about 2 months ago
JSON representation
NodeJS server with KOA middleware
- Host: GitHub
- URL: https://github.com/rishichawda/node-koa-boilerplate
- Owner: rishichawda
- License: mit
- Created: 2020-04-18T14:20:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-18T14:43:45.000Z (about 6 years ago)
- Last Synced: 2025-01-25T22:35:07.007Z (over 1 year ago)
- Language: JavaScript
- Size: 231 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#### Personal server boilerplate with NodeJS, KoaJS and Sequelize.
##### Specifications
- NodeJS v10
- [KoaJS](https://koajs.com/)
- [Sequelize](https://sequelize.org/v5/)
- JWT Setup with [passport.js](http://www.passportjs.org/) and cookies with [koa-session](https://github.com/koajs/session) (use whatever is needed)
- Logging with koa-logger and Routing already setup.
- Linting with es-lint and pre-commit hook with husky.
- Bcrypt for generating hash for passwords.
##### Setup instructions
- Needs a `config.json` for database configuration for dev, test and production environments.
- Needs environment files for bcrypt, jwt, etc. (Configured with [dotenv](https://github.com/motdotla/dotenv))