This project is a simple realtime chat application built with React, TypeScript, Vite, Express, and Socket.IO.
client/: React + TypeScript frontend using Vite and TailwindCSS.server/: Node.js backend using Express and Socket.IO.
- Realtime messaging between users.
- System notifications when users join or leave the chat.
- User typing notifications ("Usuário está digitando...") in realtime.
- Responsive UI.
- Node.js (v18 or higher recommended)
- npm
-
Clone the repository:
git clone <https://github.com/thiagodeas/realtime-chat.git> cd realtime-chat
-
Install dependencies:
cd server npm install cd ../client npm install
-
Start the server:
cd server npm run dev -
Start the client:
cd client npm run dev -
Open http://localhost:5173 in your browser.
- Enter your message and click "Enviar" to send.
- All messages are broadcast to connected users in realtime.
- System messages notify when users join or leave.
- When a user is typing, others see a "Usuário está digitando..." notification.
- React
- TypeScript
- Vite
- TailwindCSS
- Express
- Socket.IO