https://github.com/cameroncandau/rest-api-with-session-authorization
A backend REST API with user authentication and authorization. Built with NodeJS, Express, MongoDB Atlas, Mongoose and Passport. Password hashes and salts are generated using PBKDF2. Session cookies (via express-session and Passport) are stored in the database for validation.
https://github.com/cameroncandau/rest-api-with-session-authorization
mern-stack rest-api
Last synced: about 2 months ago
JSON representation
A backend REST API with user authentication and authorization. Built with NodeJS, Express, MongoDB Atlas, Mongoose and Passport. Password hashes and salts are generated using PBKDF2. Session cookies (via express-session and Passport) are stored in the database for validation.
- Host: GitHub
- URL: https://github.com/cameroncandau/rest-api-with-session-authorization
- Owner: CameronCandau
- Created: 2023-07-14T22:07:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T17:35:43.000Z (almost 3 years ago)
- Last Synced: 2025-10-25T20:43:22.882Z (8 months ago)
- Topics: mern-stack, rest-api
- Language: JavaScript
- Homepage:
- Size: 274 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# user-auth
Backend REST API with user authentication and authorization. Built with NodeJS, Express, MongoDB Atlas, Mongoose and Passport. Password hashes and salts are generated with the PBKDF2 algorithm and are stored for each user in the database. Session cookies (via express-session and Passport) are stored in the database for validation, and middleware allows for protected routes.