# Flutter Chat App with Firebase Authentication
This is a professional Flutter chat application that offers real-time messaging and user authentication using Firebase services. Users can engage in real-time conversations, create new chat rooms, and explore various chat room categories. The app is built using the MVVM architecture for clean and maintainable code.
## Features
1. **Splash Screen:** A visually appealing splash screen that welcomes users to the app.
2. **Firebase Authentication:** Secure user authentication using Firebase Authentication services.
3. **Real-time Chatting:** Users can engage in real-time conversations in different chat rooms.
4. **Room Chats:** Create and join different chat rooms, categorized into sports, music, and movies.
5. **New Chat Rooms:** Users can create their own chat rooms for specific topics.
6. **Categories:** Explore chat room categories like sports, music, and movies.
7. **User Profiles:** Users can set up and manage their profiles.
## MVVM Architecture
The app follows the Model-View-ViewModel (MVVM) architecture, which promotes separation of concerns and modularity in the codebase. The architecture consists of three main components:
- **Model:** Represents the data and business logic of the application. In our app, it manages data retrieval and interaction with Firebase services.
- **View:** Represents the UI components of the app. It observes the ViewModel for changes and displays the appropriate UI.
- **ViewModel:** Acts as a bridge between the Model and the View. It holds and processes data, communicates with the Model, and provides data for the View to display.
The MVVM architecture enhances maintainability, testability, and scalability of the app, making it easier to manage as the project grows.
## Getting Started
1. **Clone the Repository:**
git clone https://github.com/sv-medany/flutter-chat-app.git
2. **Navigate to the Project:**
cd flutter-chat-app
3. **Install Dependencies:**
flutter pub get
4. **Configure Firebase:**
- Follow the Firebase setup instructions for adding your app to the project.
- Enable Firebase Authentication and Firestore for your project.
5. **Update Configuration:**
- Update the Firebase configuration in the `android/app/build.gradle` and `ios/Runner/Info.plist` files.
6. **Run the App:**
flutter run
## Dependencies
- Firebase Authentication: For user authentication.
- Cloud Firestore: For real-time message storage.
- Provider: For state management.
- Other dependencies...
## Contributing
Contributions are welcome! If you encounter any issues or have suggestions, feel free to create a pull request or open an issue.
## License
This project is licensed under the [MIT License](LICENSE).
---