Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepak356575/auths
Authentication and Authorization
https://github.com/deepak356575/auths
bycrypt cookieparser dotenv expressjs javascript mongodb mongoose nodejs postman
Last synced: 8 days ago
JSON representation
Authentication and Authorization
- Host: GitHub
- URL: https://github.com/deepak356575/auths
- Owner: Deepak356575
- Created: 2024-12-14T16:10:24.000Z (9 days ago)
- Default Branch: main
- Last Pushed: 2024-12-14T16:45:07.000Z (9 days ago)
- Last Synced: 2024-12-14T17:26:30.510Z (9 days ago)
- Topics: bycrypt, cookieparser, dotenv, expressjs, javascript, mongodb, mongoose, nodejs, postman
- Language: JavaScript
- Homepage: https://ozbourne-auths.onrender.com
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Authentication API
API built with Node.js, Express, and MongoDB that handles user authentication with JWT tokens.
## Features
- User registration and authentication
- JWT-based authentication
- Protected routes
- Secure password hashing
- Cookie-based token storage
- Error handling
- Input validation
- MongoDB database integration## Tech Stack
- **Node.js** - Runtime environment
- **Express.js** - Web framework
- **MongoDB** - Database
- **Mongoose** - MongoDB object modeling
- **JWT** - JSON Web Tokens for authentication
- **bcryptjs** - Password hashing
- **cookie-parser** - Cookie handling
- **dotenv** - Environment variable management## API Endpoints
//User Registration
- /api/auth/register//User Login
- /api/auth/login//User logout
- /api/auth/logout//Get profile information
- /api/auth/profilePostman Api Documentation --- https://documenter.getpostman.com/view/39963289/2sAYHxoPdP