Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 298 Bytes

File metadata and controls

17 lines (13 loc) · 298 Bytes

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