Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 724 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 724 Bytes

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.