Skip to content

πŸ” A simple Node.js API example using JWT authentication

Notifications You must be signed in to change notification settings

cba85/teach-node-jwt-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Node JWT Auth API

A simple Node.js API example using Express.js and JWT authentication.

Install

$ npm install

Create sqlite database schema using:

$ node schema.js

Usage

You need to set a JWT_SECRET environment variable.

JWT_SECRET=secret node index.js

About

πŸ” A simple Node.js API example using JWT authentication

Topics

Resources

Stars

Watchers

Forks