Your Gateway to Secure Access
Welcome to SecureDash! This project provides a comprehensive authentication feature including login, signup, registration, and third-party login with Google and GitHub. It ensures secure user login and access to authenticated routes using password hashing and JWT tokens.
- 🔐 User Authentication: Login, Signup, and Register
- 🌐 Third-party Login: Google and GitHub OAuth integration
- 🛡️ Security: Password hashing with bcrypt
- 🔏 JWT Tokens: Secure access to authenticated routes
- 💾 Tech Stack:
- JsonWebToken
- MongoDB Compass
- Postman
- Node.js
- React.js
- Express.js
- Node.js
- MongoDB
-
Clone the repository:
git clone https://github.com/yashitz07/SecureDash.git
-
Install dependencies:
npm install
-
Set up environment variables server side:
PORT=server-side-port MONGODB_URI=your mongodb url CLIENT_ID=your github client id CLIENT_SECRET=your github client secret ORIGINS=http:client-side port
-
Set up environment variables client side:
VITE_SERVER_URL=server-side-port VITE_GITHUB_CLIENT_ID=your github client id VITE_GITHUB_CLIENT_SECRET=your github client secret VITE_GOOGLE_CLIENT_ID=your google client id
-
Install dependencies:
npm start
-Feel free to reach out if you have any questions or feedback:
-Email: yashitz07@gmail.com -LinkedIn: https://www.linkedin.com/in/yash-patel-882307252/