npm i
cd frontend
npm i
npm run dev
npm run server
npm run client
Running only client(frontend) will throw some errors due to the absence of backend function and database connectivity.
Create .env file and add the following environment variables to it.
NODE_ENV , PORT , MONGO_URI , JWT_SECRET