๐Ÿš€ Running Both Servers

Basic: Separate Terminals

For Run the Backend:

cd backend
npm run dev

For Run the Frontend:

cd ..
npm install concurrently

Add to root package.json:

"scripts": {
"start": "cd backend && npm run dev",
"client": "cd frontend && npm run dev",
"dev": "concurrently \"npm run start\" \"npm run client\""
}

Run both servers:

servers separately

cd frontend ----> npm start

cd ..

cd backend ----> npm run dev