/node-api-base

API Node using JWT

Primary LanguageJavaScriptMIT LicenseMIT

API Node using JWT

  • How to use
$ cd node-api-base/
$ npm install
$ node app.js
  • Router

All routes are found in the "routes" folder by following the user template.

Using MassiveJS relational data access (See db/database.js to configure connection string) and express-jwt to validate JWT. The token provides the user information and the date of validity.

To decode token in your client app see: Json Web Token