How vanlong00/movie-flutter-bloc works
Project Type and Purpose
This is a full-stack mobile application built with Flutter that interfaces with The Movie DB API. It's a movie streaming application with features like authentication, movie browsing, payments, and user profiles.
Main Architecture Components
a. Client Layer (Flutter App):
• Presentation Layer (Features)
• Core Layer
• Data Layer
• Network Layer
b. External Services:
• The Movie DB API
• Firebase Services
• Payment Gateway
Detailed Component Breakdown
Frontend Architecture (Flutter):
[User Interface Layer]
• ↓
[BLoC/Cubit Layer (State Management)]
• ↓
[Domain Layer (Use Cases)]
• ↓
[Repository Layer]
• ↓
[Data Layer (Remote/Local)]
Implementation Details
• BLoC Pattern Implementation
• Repository Pattern
• Clean Architecture Principles
• Feature-First Directory Structure
Specific Architectural Patterns
How the application implements:
• Dependency Injection using GetIt
• BLoC/Cubit for State Management
• Repository Pattern for Data Access
• Clean Architecture Separation
External Integrations
Clearly mark:
• Movie DB API Integration
• Firebase Services
• Payment Gateway Integration
• Local Storage Solutions