Keep Secrets
Secrets Logger - This project showcases a web application that allows users to register, log in, and share secrets. It's built using Express.js and integrates local authentication as well as Google OAuth 2.0 for user login.
Features:
1. User Registration and Authentication: Users can register with a unique username and password. Passport.js is used with the Local Strategy for secure user authentication.
2. Google OAuth 2.0: Users can also log in using their Google accounts through OAuth 2.0. The GoogleStrategy from Passport.js is employed to handle Google authentication.
3. Share and Display Secrets: Authenticated users can submit their secrets, which are stored and displayed on the "Secrets" page.
4. User Session Management: The app manages user sessions, allowing users to remain logged in across different pages until they choose to log out.
Tech Stack:
1. Node.js: The server-side runtime environment for running JavaScript code.
2. Express.js: A web application framework for building robust and scalable applications.
3. MongoDB: A NoSQL database used to store user information and secrets.
4. Passport.js: An authentication middleware for Node.js that supports various authentication strategies.
5. EJS: A templating engine for rendering dynamic HTML pages.
6. Google OAuth 2.0: OAuth 2.0 authentication using Google accounts.