This is a full-stack application built with the MERN stack (MongoDB, Express.js, React.js, Node.js).
.
├── client/ # React frontend
├── server/ # Node.js/Express backend
├── .gitignore # Git ignore file
└── README.md # Project documentation
- Navigate to the server directory:
cd server
- Install dependencies:
npm install
- Create a .env file and add your environment variables
- Start the server:
npm run dev
- Navigate to the client directory:
cd client
- Install dependencies:
npm install
- Start the development server:
npm start
Create a .env
file in the server directory with the following variables:
PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret