Ditonton Movie App

Posted by

🎬 Ditonton App is a Flutter application built to demonstrate the use of modern development tools with best practices implementation like Modularization, BLoC, Dependency Injection, Firebase Analytics & Crashlytics, Sqlite, Testing, CI/CD, etc.

Features

  • Movies (Now Playing, Popular, Top Rated)
  • TV Show (On The Air, Popular, Top Rated)
  • Watchlist Movies & TV Show
  • Search Movies & TV Shows
  • Detail Movies & TV Show
  • Detail Season & Episode TV Show

Banner Design

Quick start

This is a normal flutter app. You should follow the instructions in the official documentation.
This project uses BLoC (business logic component) to separate the business logic with UI itself.
It’s recommended to do self-study about it before jumping into the project here.
And also on this project uses Modularization approach to separate each feature (core, feature_about, feature_movie, feature_tv modules).

Modularization Structure πŸ”₯

# Root Project
.
|
β”œβ”€β”€ lib                        # Name of module (default from Flutter).
β”‚
└── modules                    # Name of directory.
    β”œβ”€β”€ core                   # Name of module.
    β”‚   β”œβ”€β”€ database           # Business logic component.
    β”‚   β”œβ”€β”€ styles             # Color, Text & Theme Styles.
    β”‚   β”œβ”€β”€ utils              # Util shared.
    β”‚   └── presentation       # UI, Widget, State Management.
    β”‚   
    β”œβ”€β”€ feature_about          # Name of module.
    β”‚   └── presentation       # UI, Widget, State Management.
    β”‚
    β”œβ”€β”€ feature_movie          # Name of module.
    β”‚   β”œβ”€β”€ data               # Local & Remote data, Model, Repository.
    β”‚   β”œβ”€β”€ domain             # Business logic component (Entities, Usecases).
    β”‚   └── presentation       # UI, Widget, State Management.
    β”‚
    └── feature_tv             # Name of module.
        β”œβ”€β”€ data               # Local & Remote data, Model, Repository.
        β”œβ”€β”€ domain             # Business logic component (Entities, Usecases).
        └── presentation       # UI, Widget, State Management.

Built With πŸ› 

  • BLoC Pattern – Business logic component to separate the business logic with UI.
  • SQLite – Local Database
  • Equatable – Being able to compare objects in Dart often involves having to override the == operator.
  • Json Serializable – Builders for handling JSON.
  • Shared Preferences – Cache implementation approach.
  • Modularization – Separate functionality into independent, interchangeable modules.
  • Codemagic – Handling DevOps CI/CD for pipeline and automatically build.
  • Handle State – (Loading, No Data, Has Data, Error)
  • Get It – A Dependency Injection

Author

  • Raden Saleh

Don’t forget to follow me, fork and give me a ⭐

License

MIT License

Copyright (c) 2022 Raden Saleh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

GitHub

View Github

#MovieApp #Firebase #Datbase

Leave a Reply

Your email address will not be published. Required fields are marked *