Add a conig.js file in backend folder with the following
{ mongoURI: "", secretOrKey: "secret", }
Install server dependencies, go to backend folder
cd backend
npm install
npm run dev
Keep this terminal running and open another terminal
Install client dependencies, go to frontend folder
cd frontend
npm install
npm start