Skip to content

NodeJS Authentication and Authorization boiler-plate code with JWT & MongoDB

Notifications You must be signed in to change notification settings

soumyadeepdutta/node-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Authentication boiler-plate

NodeJS Authentication API, using Express, JWT & MongoDb

Features

  1. User model
  2. MongoDB as Database
  3. JWT Authentication & Authorization

Usage

Clone this repository

git clone https://github.com/soumyadeepdutta/node-authentication.git

Change directory to 'node-authentication'

$cd node-authentication

Create a .env (configuration) file here, which includes

PORT = 3000 // the port to be used during development
DB_CONNECT = <your-mongodb-uri>

Install the dependencies and start the server

$npm install
$num run start

To run in development mode using Nodemon (hot-reload)

$npm run devstart

Report bugs here .

About

NodeJS Authentication and Authorization boiler-plate code with JWT & MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published