Skip to content

Node(Express), Mysql based app with Authentication Boilerplate.

License

Notifications You must be signed in to change notification settings

rohit-ambre/node-auth-mysql

Repository files navigation

JavaScript Style Guide forthebadge

node-auth-mysql


Node(Express), MySql based app with Authentication Boilerplate.
It can be used in the start of any project to have JWT authentication.

How to install

  1. clone the repo
  2. run npm install
  3. create .env file as given in .env.example
  4. enter your database configs in .env at least for development in local.
  5. run npx sequelize db:create It will create database for you.
  6. run npx sequelize db:migrate It will create tables.
  7. run npm run dev

Boilerplate includes

  • 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.

About

Node(Express), Mysql based app with Authentication Boilerplate.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published