shortping-express-generator

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i shortping-express-generator

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

2.3 kB

Total Files

3

Last publish

Collaborators

  • shortping