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.
- Host: GitHub
- URL: https://github.com/eddie4k-code/simplejwtauth
- Owner: Eddie4k-code
- Created: 2023-05-05T19:43:23.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T17:59:08.000Z (about 3 years ago)
- Last Synced: 2025-04-06T06:44:49.165Z (about 1 year ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)