jwt_auth_example icon indicating copy to clipboard operation
jwt_auth_example copied to clipboard

Example of how to use JWT for user authorization and API route protection. Made with Express, Node.js, and JWT.

Json Web Tokens(JWT) Authorization Example

This repository contains code for the article found at: https://medium.com/@maison.moa/using-jwt-json-web-tokens-to-authorize-users-and-protect-api-routes-3e04a1453c3e

This example is not meant to be production ready, rather an example of how to use JWT. This codebase utalizes Node.js with an Express server.

To install:

Clone this repo => install dependecies => start server.js

Thanks for looking 💙