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.
- User registration and login using email and password.
- Google OAuth authentication for easy login.
- Secure password storage using hashing.
- User session management.
- Node.js
- Express.js
- MongoDB (or any other database)
- Passport.js (for authentication)
- Google OAuth 2.0
- HTML/CSS/JavaScript (for the frontend)
- Node.js installed on your machine.
- MongoDB (or any other database) set up.
- Clone the repository:
git clone https://github.com/saidee-hasan/email-password-google-auth.git cd email-password-google-auth