Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smoke221/authentication-system
https://github.com/smoke221/authentication-system
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/smoke221/authentication-system
- Owner: Smoke221
- Created: 2023-08-17T09:27:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-18T10:16:04.000Z (over 1 year ago)
- Last Synced: 2024-03-21T14:44:11.657Z (10 months ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User Authentication and Authorization System
This project is a user authentication and authorization system built using Node.js, Express.js, MongoDB, and various authentication providers like GitHub and Google. It provides registration, login, and protected route functionality. Users can sign up, log in, and access protected routes by authenticating through different methods.
## Features
- User registration with password hashing
- User login with JWT-based authentication
- OAuth2-based authentication with GitHub and Google
- Protected routes to ensure authorized access
- Error and success message handling for user feedback
- Responsive and user-friendly front-end interface## Technologies Used
- Node.js
- Express.js
- MongoDB
- bcrypt.js (for password hashing)
- jsonwebtoken (for JWT-based authentication)
- OAuth2 (GitHub and Google authentication)
- HTML, CSS (Front-end design)## Setup and Usage
1. Clone the repository:
```bash
git clone https://github.com/Smoke221/Authentication-System.git
cd Authentication-System2. Install dependencies:
```
npm install3. Run the application:
```
npm run dev - uses nodemon.
npm run start - If you don't prefer nodemon.## Contributing
Contributions are welcome! If you find any issues or want to add new features, feel free to submit a pull request.