Skip to content

Latest commit

 

History

History
76 lines (55 loc) · 2.02 KB

README.md

File metadata and controls

76 lines (55 loc) · 2.02 KB

SecureDash Logo

🔒SecureDash

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.

🌟 Features

  • 🔐 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

🚀 Getting Started

Prerequisites

  • Node.js
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/yashitz07/SecureDash.git
    
  2. Install dependencies:

    npm install
    
  3. 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
    
  4. 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
    
  5. Install dependencies:

    npm start
    

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

📞 Contact

-Feel free to reach out if you have any questions or feedback:

-Email: [email protected] -LinkedIn: https://www.linkedin.com/in/yash-patel-882307252/