A simple MERN stack project demonstrating login and signup functionality using React and PostgreSQL.
Backend is built with Express.js, and frontend is a React app.
mern-login/
│
├── backend/
│ ├── app.js
│ ├── db.js
│ ├── models/
│ ├── user.js
│
└── frontend/
└── (React app)
cd backend
npm init -y
npm install node app.jsnpx create-react-app frontend
cd frontend
npm install react-router-dom
or
npm inpm start- Open the signup page to create a new user.
- Use the login page to authenticate with your email and password.
- After successful login, you will be redirected to the home page.
- Click Logout to return to the login page.
---
If you want, I can also add a **table of API endpoints** in the README (`/signup`, `/login`, `/home`) so it looks very **professional for submission**.
Do you want me to add that?