Code Monkey home page Code Monkey logo

chatapp's Introduction

# 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).

---

chatapp's People

Contributors

sv-medany avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.