1.2.0 • Published 4 years ago

shortping-express-generator v1.2.0

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

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
})
1.2.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago