https://github.com/abdulrehman-z/jwt-authentication
Jwt based authentication using react on frontend and nodejs and mongodb on backend.
https://github.com/abdulrehman-z/jwt-authentication
Last synced: about 2 months ago
JSON representation
Jwt based authentication using react on frontend and nodejs and mongodb on backend.
- Host: GitHub
- URL: https://github.com/abdulrehman-z/jwt-authentication
- Owner: AbdulRehman-z
- Created: 2022-11-18T14:19:10.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-19T13:26:06.000Z (over 2 years ago)
- Last Synced: 2024-04-19T09:55:56.549Z (about 1 year ago)
- Language: JavaScript
- Size: 2.95 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Disclaimer
The patterns shown in this repository are meant for educational purposes. While this is sufficiently secure to use for personal projects, there are considerations not mentioned in this tutorial series that should be explored for an enterprise-grade implementation.
In other words, this will get you 95% of the way there, but do you own research to ensure your implementation is secure!
## How to use this Repo
This repo has two branches:
* master
* finalThe `master` branch has a starter template for creating what is in the `final` branch.
There is an Angular app included, but is entirely optional. Since JWT authentication is commonly seen in SPAs (single page applications) like Angular, I decided it was important to at least have a basic implementation.
## How to run the app
When you go to each branch, the `README.md` will show you how to start the app.
The `master` branch is incomplete and you can follow the written or video tutorials to complete:
* Written - https://www.zachgollwitzer.com/posts/2020/passport-js/
* Video - https://www.youtube.com/playlist?list=PLYQSCk-qyTW2ewJ05f_GKHtTIzjynDgjK