Welcome to the Chat Room Client! This is a simple chat room client that connects users to a server, allowing them to send and receive messages in real time. Users can create different rooms and join existing ones to engage in conversations with others.
To install all the dependencies, run the following command in your terminal:
npm install
To start the client, use the following command:
npm start
This is the hub page where users can create new rooms or join existing ones.
Here is an example where three users are chatting in the same room. The user on the left has created the room, and the other two users have joined it. The user on the right has sent a message, and the other two users have received it in real time.
- Login, Registration and User Authentication: Users can create an account or log in with an existing one while being authenticated with a cookie provided by the server.
- Real-time Chat: Engage in conversations with other users in real time.
- Room Creation: Create new chat rooms to invite others to join.
- WebSocket Connection: Utilizes WebSocket technology for real-time communication.
- Axios API Calls: Handles API calls using the Axios library for efficient communication with the server.
- Active Users in Room: Display the number of active users in a room.
- Typer Indicator: Show when a user is typing a message with their name.