- Open 2 terminals in the project folder.
- In the first terminal run the command
cd front, then run the commandnpm install. - In the second terminal run the command
cd server, then run the commandnpm install. - Add a file
.envto thefrontfolder, and in it write:
VITE_API_URL="http://localhost:3000"
- Add file
.envtoserverfolder, and in it write:
PORT=3000
MONGODB_URI="Your MongoDB URI"
- Run in both terminals the command "npm run dev"