Skip to content

This project demonstrates how to implement user authentication using both email-password and Google OAuth in a web application. It provides a simple and secure way for users to log in and manage their accounts.

Notifications You must be signed in to change notification settings

saidee-hasan/email-password-google-auth

Repository files navigation

Email-Password and Google Authentication

Overview

This project demonstrates how to implement user authentication using both email-password and Google OAuth in a web application. It provides a simple and secure way for users to log in and manage their accounts.

Features

  • User registration and login using email and password.
  • Google OAuth authentication for easy login.
  • Secure password storage using hashing.
  • User session management.

Technologies Used

  • Node.js
  • Express.js
  • MongoDB (or any other database)
  • Passport.js (for authentication)
  • Google OAuth 2.0
  • HTML/CSS/JavaScript (for the frontend)

Installation

Prerequisites

  • Node.js installed on your machine.
  • MongoDB (or any other database) set up.

Steps

  1. Clone the repository:
    git clone https://github.com/saidee-hasan/email-password-google-auth.git
    cd email-password-google-auth

About

This project demonstrates how to implement user authentication using both email-password and Google OAuth in a web application. It provides a simple and secure way for users to log in and manage their accounts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published