This application allows users to communicate in real-time via a chat interface.
- Real-time messaging with Socket.IO
- User-friendly chat interface
- Fast development with Vite
- Scalable backend with Node.js and Express
- Frontend: React, Vite
- Backend: Node.js, Express
- Real-Time Communication: Socket.IO
-
Clone the repository:
git clone https://github.com/yourusername/chatapp.git cd chatapp
-
Navigate to the server directory and install dependencies:
cd server npm install
-
Navigate to the client directory and install dependencies:
cd client npm install
###Running the Application
-
Start the backend server:
cd server nodemon index.js
-
Start the frontend development server:
cd client npm run dev
-
Open your browser and navigate to:
http://localhost:5173/
- Chat Interface: Users can send and receive messages in real-time.
- Real-Time Updates: Messages are instantly updated across all connected clients.