jkbpvsc / node-jwt-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js Api Boilerplate with JWT authenticatiom mechanism

Run

yarn
yarn dev

Go to localhost:3000

POST /login to get the Bearer token

Add the Authorization header to your request in this format

Authorization: Bearer <token>

GET /api/protected to see your encoded data

About


Languages

Language:JavaScript 100.0%