This project is a robust chat room application crafted with Dart and Flutter, leveraging the power of Socket for seamless real-time communication. Whether you want to connect with friends, colleagues, or family members, this app provides a reliable platform for instant messaging.
This application revolutionizes communication by offering users a feature-rich environment to interact in real-time. By integrating Dart and Flutter, it ensures a fluid user experience with a sleek interface.
- User Authentication: Seamlessly register, log in, and log out.
- Persistent Login State: Enjoy the convenience of staying logged in across devices.
- Real-time Messaging: Exchange messages instantly with other users.
- Contact Management: Search and add contacts, with the ability to accept or decline requests.
- Cross-Device Message Sync: Access your messages from any device seamlessly.
- Offline Messaging: Send messages even when the recipient is offline, mimicking SMTP behavior.
- File Handling: Effortlessly transfer files to and from the server.
Socket programming in Dart facilitates direct communication between nodes on a network. In this project, Socket is utilized to establish and maintain real-time connections between users within the chat room.
- Run the Server: Start the server to enable communication.
- Download and Install the App: Obtain the application and install it on your device.
- Log In: Enter your credentials to access the app.
- Add Contacts: Search for users and add them to your contacts list.
- Start Chatting: Initiate conversations with your contacts effortlessly.
Note: Ensure that the server is operational for the application to function correctly.
To clone this project using command prompt in a Windows environment with Dart SDK configured, follow these steps:
git clone https://github.com/mohammedzizou/Chat-Room-Project-with-Socket/tree/main
Configuring the server for the chat room application typically involves:
- Navigating to the Server Directory: Access the server files.
- Installing Dependencies: If necessary, install any required dependencies.
- Starting the Server: Launch the server to enable communication.
# Navigate to the server directory
cd Server
# Install dependencies (if any)
dart pub get
# Start the server
dart run