shortping-express-generator
v1.2.0
Published
Generates you an basic express app with jwt authentication
Readme
ShortPing-Express-Generator
Description
Generates you an basic express app with JWT Authentication
Installation
npm i shortping-express-generator -g
Usage
shortping-express-generator <folder>
Authorization Tutorial
const Auth = require("../_security/Auth")
// Add Middlewares to Express Function
app.get("/example", Auth, Auth.checkJWT, (req, res) => {
// The order of the Middlewares are important
})
