/NodeJs-Auth-System

A Node.js Auth System with register, login, Google login. Built with Bootstrap for a responsive UI. Secure password encryption, form validation, and error handling. Provides a user-friendly way for users to access protected resources.

Primary LanguageJavaScriptMIT LicenseMIT

Node.js Authentication System

This is a Node.js Authentication System that provides user registration, login, and authentication functionalities. It also includes the option for users to authenticate using their Google account. The system is built using Node.js and utilizes the Bootstrap framework for a responsive and visually appealing user interface.

Demo

DemoLink : https://nodejs-auth-system.onrender.com/

Features

  • User Registration: Create new accounts with name, email, and password.
  • User Login: Authenticate users with email and password.
  • Password Encryption: Securely encrypt passwords for enhanced security.
  • Form Validation: Validate user input on both client and server sides.
  • Error Handling: Handle and display appropriate error messages.
  • Google Login: Allow users to authenticate using their Google account.
  • Responsive UI with Bootstrap: Provides a visually appealing and responsive design.

Getting Started

  1. Clone the repository.
  2. Install dependencies using npm install.
  3. Set up the required environment variables.
  4. Run the application using npm start.
  5. Access the application through the provided URL.

Dependencies

  • Express.js: Backend web framework.
  • MongoDB: Database for storing user information.
  • Passport.js: Authentication middleware for Node.js.
  • Bootstrap: Frontend framework for responsive UI.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • Bootstrap - For the responsive UI components.
  • Passport.js - For authentication middleware.
  • MongoDB - For the database functionality.

Contributing

Contributions are welcome! Please feel free to submit a pull request with your enhancements, bug fixes, or new features.