"Unlocking Secrets: User Authentication System for Exclusive Access" 🔒
MIT License
Node.js
, Express.js
, MongoDB
, Passport.js
, EJS
, CSS
🚀💻This is a Node.js web application built by Shreya Malogi with Express.js, MongoDB, and Passport.js for user authentication. The application includes local authentication (username and password) and Google OAuth 2.0 authentication. 🚀🔐
Password Hashing Algorithm:
md5
and transitioned to the more secure bcrypt
for robust password hashing. 🔒🔐Passport.js Integration:
md5
and bcrypt
, later adopted Passport.js for a streamlined authentication process. 🤝🚀Environment Variables Security:
dotenv
to securely load environment variables from a .env
file. 🔒🔐.env
file. 🔒findOneOrCreate
operation. 🔄To view detailed information about each commit and understand what happened at each version, you can use the git log
command without any additional filters. Here's how:
git log
🔄💡 This command will display a chronological list of all commits in your repository. Each commit entry includes information such as the commit hash, author, date, and commit message. The commit message typically provides a summary of the changes made in that commit.
Navigate through the log using the arrow keys. Press q
to exit and return to the command line.
If you want to see a condensed version of the log, you can use:
git log --oneline
💻🔍 This will display each commit as a single line, showing only the commit hash and the first line of the commit message.
To see the changes introduced in a specific commit, you can use:
git show <commit-hash>
Replace <commit-hash>
with the actual commit hash you want to inspect. This command will display detailed information about the specified commit, including the changes made to files.
This way, you can review the commit history, understand the changes made at each version, and inspect specific commits for detailed information about the modifications introduced.🚀📖👀
Prerequisites:
Start MongoDB Server:
mongod
Keep the mongod
server running throughout the setup.Clone the Repository:
git clone https://github.com/shreyamalogi/Full-Stack-Authentication-App.git
Navigate to the Project Directory:
cd <project-directory>
Install Dependencies:
npm install
Create a .env
File:
.env
file.CLIENT_ID=<your-google-client-id>
CLIENT_SECRET=<your-google-client-secret>
Replace <your-google-client-id>
and <your-google-client-secret>
with your Google OAuth 2.0 credentials.Run the Application:
node app.js
Open Your Web Browser:
Register and Login:
username
and password
.secrets page
. 🌟🌐🔐
click here for secrets app guidelines/references
click her for secrets app overview
This project is enchanted under the spell of the MIT License. Share the magic responsibly!
MIT License
Copyright (c) 2022 Shreya Malogi
Excited about web security spells? Contribute to this magical project and make it even more secure. Don't forget to star the project! ⭐🌟