cd chat-app
cd backend
Install dependencies:
npm install
Run the application:
npm run dev
Open a new terminal for the frontend:
cd frontend
Install dependencies:
npm install
Change the Socket.IO URL to the localhost where the server is running.
Run the application:
npm run dev
Now, you should be able to run the entire application locally. Make sure to navigate to the correct directories (backend and frontend) when installing dependencies and running the applications.