Install with npm
- Setup the backend
cd server
npm install
- Setup the frontend
cd client
npm install
To run this project, you will need to add the following environment variables to your .env file ( which you are going to create in the server folder, server/.env )
PORT = 1337
MONGO_URI = your_mongo_uri
To run this project, you will need to add the following environment variables to your .env.local file ( which you are going to create in the client folder, client/.env.local ) make sure that this environment variable starts with 'VITE_BASE_'.
VITE_BASE_URL=http://localhost:1337
Start the server
npm run dev
Start the client
npm run dev