An open API service indexing awesome lists of open source software.

https://github.com/rohit-ambre/node-auth-mongo

Node(Express), MongoDB based app with Authentication Boilerplate.
https://github.com/rohit-ambre/node-auth-mongo

authentication expressjs hacktoberfest jwt-authentication mongodb node

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

[![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)](https://forthebadge.com)

# 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

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