Coder Social home page Coder Social logo

naditech / ditonton-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from radensaleh/ditonton-app

0.0 0.0 0.0 3.34 MB

๐ŸŽฌ 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.

License: MIT License

Shell 0.55% Objective-C 0.01% Kotlin 0.03% Dart 99.29% Swift 0.11%

ditonton-app's Introduction

Ditonton App

GitHub stars GitHub forks GitHub watchers

Codemagic build status GitHub license platform Open Source Love

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.

ditonton-app's People

Contributors

radensaleh 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.