To set up the environment variables for your project, follow these steps:
- Copy the
.env.example
file and rename the copy to.env
.
cp .env.example .env
To start the backend locally, follow these steps:
- Navigate to the backend directory of the project.
cd backend
- Install the necessary dependencies using npm.
npm install
- Start the server.
npm run dev
The backend server should now be running locally.
To start the frontend locally, follow these steps:
- Navigate to the frontend directory of the project.
cd frontend
- Install the necessary dependencies using npm.
npm install
- Start the React application.
npm start
The frontend application should now be running locally.
Please note that you need to have Node.js and npm installed on your machine to run these commands.