Skip to content

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

Notifications You must be signed in to change notification settings

rohit-ambre/node-auth-mongo

Repository files navigation

forthebadge

node-auth-mongo


Node(Express), MongoDB based app with Authentication Boilerplate.
It can be used to get started with 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. run npm run dev

Boilerplate includes

  • Server with Express.js
  • Database schema and models using Mongoose ORM.
  • User authentication with JWT.
  • Eslint for coding patterns/standards.
  • Prettier for code styling.
  • Request validation using Express-validator.
  • Morgan and Winston for server side logging.