Follow these steps to set up and run the backend server:
Copy the .env.example file to .env and update the MongoDB URI:
cp .env.example .envOpen .env in a text editor and update the MONGODB_URI variable accordingly.
Change into the server directory:
cd serverRun the following command to install the required dependencies:
npm installLaunch the backend in development mode:
npm run devCopy the provided backend URL and update the BACKEND_URI variable in the frontend .env file accordingly.
Follow these steps to set up and run the React project:
Copy the .env.example file to .env and update the backend URI as needed:
cp .env.example .envOpen .env in a text editor and update the BACKEND_URI variable accordingly.
Change into the client directory:
cd clientRun the following command to install the required dependencies:
npm installLaunch the project in development mode:
npm run devYour Frontend project should now be running. Open the provided URL in your browser to see the application.