A simple and fast real-time chat app built with WebSocket, Node.js, and React. Join a room, enter your name, and start chatting live — no refreshes needed! 🚀
🔗 Live Demo
- React
- Vite
- CSS Modules / your CSS method
- WebSocket (client)
- Node.js
- WebSocket (ws)
- Express
- Render (Frontend and Backend deployed separately)
- 🔌 Real-time communication via WebSockets
- 🧑 Join with your name and a room name
- 🌐 Deployed online for public use
/client → React frontend (Vite) /server → Node.js WebSocket backend
git clone https://github.com/yzhyhaliuk/Chatrooms-App.git
cd Chatrooms-App📦 Client:
cd client
npm install🔌 Server:
cd server
npm install🧪 On client (client/.env): VITE_SERVER_URL=ws://localhost:5000
⚙️ On server: PORT=5000
🖥️ Server:
cd server
node src/index.js💻 Client:
cd client
npm run dev- Backend deployed on Render using Node server with WebSocket
- Frontend deployed separately using Vite static build
- Environment variable for VITE_SERVER_URL set in client settings on Render