Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.29 KB

File metadata and controls

41 lines (28 loc) · 1.29 KB

🔐 Login and Signup with MERN Stack

🧾 Overview

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.


✨ Features

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

📦 Installation

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.