Node(Express), MySql based app with Authentication Boilerplate.
It can be used in the start of any project to have JWT authentication.
- clone the repo
- run
npm install
- create
.env
file as given in.env.example
- enter your database configs in
.env
at least for development in local. - run
npx sequelize db:create
It will create database for you. - run
npx sequelize db:migrate
It will create tables. - run
npm run dev
- Server with Express.js
- Database schema and models using Sequelize ORM.
- User authentication with JWT.
- StandardJs for coding standards and styling.
- Request validation using Express-validator.
- Morgan and Winston for server side logging.
- Swagger for API documentation.