Run "npm i" to install all the required pakages Start the server through "nodemon src/index.js" Start the Frontend by opening Frontend folder in integrated terminal and then run "npm run dev"
now create an .env folder in the parent folder and paste this in it DB_NAME= "Hospitality" MONGO_URI= "mongodb://localhost:27017" CORS_ORIGIN= "http://localhost:3000" PORT= "8000" or you may change DB_NAME, PORT and MONGO_URI according to your prefrence.