All Projects → rrifafauzikomara → Movieapp

rrifafauzikomara / Movieapp

Licence: mit
🎬 MovieApp is a Flutter application built to demonstrate the use of modern development tools with best practices implementation like Modularization, BLoC, Dependency Injection, Dynamic Theme, Cache, Shimmer, Testing, Flavor, CI/CD, etc.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Movieapp

Viewinspector
Runtime introspection and unit testing of SwiftUI views
Stars: ✭ 746 (+537.61%)
Mutual labels:  best-practices, unit-testing
Awesome Android Kotlin Apps
👓 A curated list of awesome android kotlin apps by open-source contributors.
Stars: ✭ 1,058 (+804.27%)
Mutual labels:  retrofit, unit-testing
Quixote
CSS unit and integration testing
Stars: ✭ 788 (+573.5%)
Mutual labels:  unit-testing, integration-testing
Unit Testing Tips
Unit testing tips by examples in PHP
Stars: ✭ 318 (+171.79%)
Mutual labels:  best-practices, unit-testing
Sample Code Movies
This repository contains sample code. Its purpose being, to quickly demonstrate Android and software development in general, clean code, best practices, testing and all those other must know goodies.
Stars: ✭ 81 (-30.77%)
Mutual labels:  retrofit, unit-testing
Codeception
Full-stack testing PHP framework
Stars: ✭ 4,401 (+3661.54%)
Mutual labels:  unit-testing, integration-testing
Aspnetcore Tests Sample
A project to help demonstrate how to do unit, integration and acceptance tests with an web api project using ASP.NET Core and Angular 7 front end.
Stars: ✭ 40 (-65.81%)
Mutual labels:  unit-testing, integration-testing
springboot-keycloak-mongodb-testcontainers
Goals: 1) Create a Spring Boot application that manages books; 2) Use Keycloak as authentication and authorization server; 3) Test using Testcontainers; 4) Explore the utilities and annotations that Spring Boot provides when testing applications.
Stars: ✭ 18 (-84.62%)
Mutual labels:  unit-testing, integration-testing
Aspnetcorespa
Asp.Net 5.0 & Angular 11 SPA Fullstack application with plenty of examples. Live demo:
Stars: ✭ 1,211 (+935.04%)
Mutual labels:  best-practices, unit-testing
Redux Saga Test Plan
Test Redux Saga with an easy plan.
Stars: ✭ 1,135 (+870.09%)
Mutual labels:  unit-testing, integration-testing
Dredd
Language-agnostic HTTP API Testing Tool
Stars: ✭ 3,770 (+3122.22%)
Mutual labels:  unit-testing, integration-testing
Unit Threaded
Advanced unit test framework for D
Stars: ✭ 100 (-14.53%)
Mutual labels:  unit-testing, integration-testing
Vue Testing Examples
Advanced testing with vuejs. When you need to go beyond Getting started section and see some real world example with everything that proper tests should have.
Stars: ✭ 288 (+146.15%)
Mutual labels:  unit-testing, integration-testing
Java Dns Cache Manipulator
🌏 A simple 0-dependency thread-safe Java™ lib/tool for setting dns programmatically without touching host file, make unit/integration test portable.
Stars: ✭ 557 (+376.07%)
Mutual labels:  unit-testing, integration-testing
Avenging
MVP pattern example on Android: no Dagger or RxJava example
Stars: ✭ 279 (+138.46%)
Mutual labels:  retrofit, unit-testing
Stocker
Stocker is a currency monitoring app. It offers instant currency rates of banks.
Stars: ✭ 38 (-67.52%)
Mutual labels:  modularization, unit-testing
MealsCatalogue
Flutter application using base architecture component like BLoC pattern, RxDart, Http, SQFlite, Flavor, Unit Testing (Mockito), Instrumentation Testing and etc 🔥
Stars: ✭ 45 (-61.54%)
Mutual labels:  unit-testing, integration-testing
awesome-javascript-testing
🔧 Awesome JavaScript testing resources
Stars: ✭ 28 (-76.07%)
Mutual labels:  unit-testing, integration-testing
React Cool Starter
😎 🐣 A starter boilerplate for a universal web app with the best development experience and a focus on performance and best practices.
Stars: ✭ 1,083 (+825.64%)
Mutual labels:  best-practices, unit-testing
Testing Workshop
A workshop for learning how to test JavaScript applications
Stars: ✭ 1,276 (+990.6%)
Mutual labels:  unit-testing, integration-testing

Movie App

GitHub stars GitHub forks GitHub watchers

Codemagic build status GitHub license platform Open Source Love

Get it on Google Play

Features

  • Switch Theme (Dark and Light) by App 🔥
  • Movies
  • Tv Show
  • Discover
  • Detail Movies & Tv Show (with Trailer and Crew)
  • Booking Ticket Simulation (I modified from the original code 😁)

📸 Example iOS

                                                  

📸 Example Android

                                                  

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, shared, ui modules). You can do self-study about it in here.

Modularization Structure 🔥

# Root Project
.
|
├── lib                        # Name of module (default from Flutter).
│   ├── launcher               # Main Application.
│   └── ui                     # Activity/View layer.
|
└── libraries                  # Name of directory.
    ├── core                   # Name of module.
    │   ├── bloc               # Business logic component.
    │   ├── di                 # Dependency injection.
    │   ├── local              # Local data handlers.
    │   ├── network            # Remote data handlers.
    │   └── repository         # Repository data handlers.
    |
    ├── dependencies           # Name of module (Handle dependency version updates).
    |
    └── shared                 # Name of module.
        ├── common             # Common shared.
        └── widget             # Custom widget which can be used repeatedly.

Built With 🛠

Todo

  • [ ] Add Lint
  • [ ] Add Favorite Movie and Tv Show using Moor
  • [ ] Reminder with Notification
  • [ ] Play Trailer with Full Screen
  • [ ] Re-write Integration Testing (UI Test) because of Redesign UI
  • [ ] Unit Testing (Mockito with BLoC)
  • [ ] Add Fastlane
  • [ ] Add CI to automatically publish to Firebase App Distribution

How to run the App

  1. Clone this project.
  2. Open with your favorite tools editor.
  3. Run Pub get on each module sequentially starting from dependencies, core, shared, and your root project to generated pubspec.lock file.
  4. Add your API_KEY into api_constant.dart file.
  5. Generated *.g.dart file in core module. But before you running that, make sure go to core module first using cd command. For example cd libraries and then cd core. Then you can run this command: flutter packages pub run build_runner build --delete-conflicting-outputs.
  6. Run the App using this or this. Enjoy your App!.

Run the App using command prompt

Development

flutter run --flavor development --target=lib/launcher/main-dev.dart

Production

flutter run --flavor production --target=lib/launcher/main-prod.dart

Run the App using Run

Tutor1
Tutor2
Tutor3

How to run the Test

Integration Testing (will be modified, for now it's not working)

flutter drive --target=test_driver/app.dart --flavor development

Author

  • R Rifa Fauzi Komara

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

License

MIT License

Copyright (c) [2020] [R Rifa Fauzi Komara]

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].