This project consists of a backend and frontend application.
cd backend
npm install
.env file in the backend directory with the following variables:
PORT=5000
MONGODB_URL=your_mongodb_connection_string
npm run dev
This will start the backend server on port 5000.
cd frontend
npm install
.env file in the frontend directory with the following variable:
REACT_APP_API_URL=http://localhost:5000
npm start
This will start the frontend on port 3000.
.env file to load environment variables.npm run dev - Start backend server with nodemon (auto-restart on changes)npm start - Start backend server normallynpm start - Start frontend development servernpm run build - Build frontend for productionnpm install in the respective directories..env file.This README provides all necessary commands and setup instructions to run the project smoothly without clumsy errors.