An open API service indexing awesome lists of open source software.

https://github.com/eddie4k-code/simplejwtauth

JWT Authentication API using middleware.
https://github.com/eddie4k-code/simplejwtauth

Last synced: 11 months ago
JSON representation

JWT Authentication API using middleware.

Awesome Lists containing this project

README

          

Basic JWT Authentication
This is a Node.js application that demonstrates basic JWT-based authentication using Express and MongoDB.

Features


User registration (username, email, password)


User login (email, password)


getUsername (Route to retrieve logged in users username, request only can be made with valid token)


verifyToken (Middleware that checks accessToken)