Chat Bot is a basic yet powerful Flutter application that enables group chatting, powered by Firebase. Users can register using email and password, create or join groups, and chat in real time. This project demonstrates Firebase integration, BLoC state management, and chat management with StreamBuilder.
Chat Bot is a real-time group chatting app built with Flutter and Firebase. It allows users to:
- Register/Login with email and password.
- Create new chat groups or join existing ones.
- Engage in real-time conversations with group members.
This app is created to demonstrate:
- Firebase integration for authentication and database operations.
- BLoC pattern for clean state management.
- Use of
StreamBuilderfor live chat updates.
- Flutter SDK
- Firebase project set up (Authentication and Firestore enabled)
- Android/iOS emulator or physical device
-
Clone the repository:
git clone https://github.com/yourusername/chat_bot.git cd chat_bot -
Install dependencies:
flutter pub get
-
Connect Firebase:
- Add your
google-services.json(Android) andGoogleService-Info.plist(iOS) files.
- Add your
-
Run the app:
flutter run
The project follows a modular folder structure:
lib/
├── bloc/ # Contains BLoC, Events, and States
├── pages/ # UI Screens
├── services/ # Firebase and API related functions
├── widgets/ # Reusable UI components
├── helper/ # Local storage utilities and helpers
State Management: BLoC
Realtime Data: StreamBuilder
Local Storage: Shared Preferences
firebase_core: ^2.32.0cloud_firestore: ^4.17.5firebase_database: ^10.5.7firebase_ui_firestore: ^1.6.3
flutter_image_compress: 2.3.0lottie: ^2.1.0image: ^4.0.0awesome_snackbar_content: ^0.1.3page_transition: ^2.1.0
bloc: ^8.1.4flutter_bloc: ^8.1.6
- Create Account: User signs up with email and password.
- Create/Join Group: User can create a new group or join existing ones.
- Chat Live: Messages stream in real-time with a live UI powered by
StreamBuilder.
- Your Name – https://github.com/NikhilYadav04
- Contributions welcome! Feel free to open issues or submit pull requests.
🚀 "Built with Flutter & Firebase to connect people in real-time."