Skip to content

Tutorial Project : NodeJs API Multi Authorization Middleware with JWT

Notifications You must be signed in to change notification settings

helloakn/api-authorization-nodejs-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs API Authorization

Star Count Licence Language

Tutorial How to Create API with multi route prefixs as well as Multi Authorization in NodeJs

Installation

npm install

.env

modify database information in .env as the following sample information.

SVR_PORT=3003
SVR_IP="0.0.0.0"
DB_HOST=localhost
DB_PORT=3306
DB_USER=urusername
DB_PASSWORD=urpassword
DB_NAME=jwt_tutorial
ALLOW_FROM=http://localhost:3000%

ALLOW_FROM is for admin dashboard application

Run the program

npm run start

About

Tutorial Project : NodeJs API Multi Authorization Middleware with JWT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published