Welcome to the NexusGuard, A full-stack authentication system built using the MERN stack: MongoDB, Express, React, and Node.js. The frontend is styled with Tailwind CSS.
Check it out here: https://mern-auth-z28q.onrender.com
Make sure you have the following installed on your machine:
Clone the repository:
git clone https://github.com/Faraz-Ansari/mern-auth.git
cd mern-auth
Install dependencies for both client and server:
npm install
cd client
npm install
Create a .env
file in the api
directory with the following content:
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
Create a env
file in the client
directory and add the following:
VITE_FIREBASE_API_KEY=your_google_firebase_api_key
Start the backend server:
npm start
Start the frontend development server:
cd client
npm start
Open your browser and navigate to http://localhost:5173
.
Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure your code adheres to the project's coding standards.