Giter Site home page Giter Site logo

leonardocaracho / theseriesdatabase Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 35.62 MB

An App developed using Flutter to list and search tv shows from the TvMaze Api.

Dart 83.76% Kotlin 0.07% Swift 0.21% Objective-C 0.02% HTML 2.02% CMake 4.21% C++ 8.66% C 0.36% Ruby 0.69%

theseriesdatabase's Introduction

TSDB - TheSeriesDataBase ๐ŸŽฌ

License: MIT

Generated by the Very Good CLI ๐Ÿค–

A Very Good Project created by Very Good CLI.

TheSeriesDatabase


Getting Started ๐Ÿš€

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

# Development
$ flutter run --flavor development --target lib/main_development.dart

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart

# Production
$ flutter run --flavor production --target lib/main_production.dart

*The Series Db works on iOS, Android, Web, and Windows.


Running Tests ๐Ÿงช

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

App Architecture

TheSeriesDatabase

Using the bloc library allows us to separate our application into three layers:

  • Presentation

    • This layer holds all the widgets, along with their blocs. Widgets do not communicate directly with the repository.
  • Business Logic

    • Consumes the domain model from the repository layer and expose a feature-level model which will be surfaced to the user via UI.
  • Data

    • Repository: Abstract the data layer and expose domain models for the application to consume, facilitating the communication with the Bussiness Logic layer.
    • Data Provider: The data layer contains a single weather repository that is used to fetch weather raw data from the API.

Supported Features

  • List all the TVMaze's Tv Shows catalog with pagination
  • Search for an specific catalog the Search Tab
  • Show details and all the episodes from all the seasons of a Tv Show

Packages in use

About the TVMaze API

The app shows data from the following endpoints:

Note: to use the API you don't need to have your own API key.

theseriesdatabase's People

Watchers

Leonardo Caracho 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.