This is the server-side component of the chat application, built using Dart. It handles requests, authentication, real-time messaging, and stores messages using SQLite. The server works in conjunction with the Flutter-based client-side app, which you can find here.
- Authentication: Handles user authentication (sign up and log in).
- Real-Time Chat: Supports instant messaging between users and group chats.
- Message Storage: Messages are stored in an SQLite database with timestamps.
- Broadcast Messages: Enables one-way communication for updates.
- Group Chats: Manages group creation and messaging.
- Dart SDK installed on your machine.
- An SQLite database for message storage.
-
Clone the repository:
git clone https://github.com/natnael-kiros/chat-app-server.git
-
Navigate to the server directory:
cd chat-app-server
-
Install dependencies:
Use Dart’s package manager to install necessary packages: -> dart pub get
- Run the server:
You can start the Dart server using the following command: -> dart run bin/server.dart
- Configure the client: -> Make sure the Flutter client is configured to connect to the server's IP address and port.