This project implements a login and signup system using the MERN stack β MongoDB, Express.js, React.js, and Node.js. It provides both frontend and backend functionality to manage user authentication seamlessly and securely.
- β User registration with email and password
- π User login with secure authentication
- π Secure password storage using bcrypt
- π‘οΈ Authentication using JSON Web Tokens (JWT)
- π» Frontend built with React.js for a dynamic user interface
- βοΈ Backend built with Node.js and Express.js
- ποΈ MongoDB used as the database to store user information
Clone the repository: git clone https://github.com/your-username/login-signup-mern.git
Navigate to the project directory: cd login-signup-mern.
Install dependencies: cd client && npm install && cd ../server && npm install
Usage : Start the backend server: cd server && npm start Start the frontend development server: cd client && npm start Open your web browser and go to http://localhost:3000 to access the application.
Configuration : MongoDB connection string: Modify the MongoDB connection string in server/config/config.js to point to your MongoDB instance.