Giter Site home page Giter Site logo

movie_app_cracktech's Introduction

Movie App

Here are the things I felt worth to be mentioned:

Architecture

  1. I used domain driven architecture in a simplified manner.
  2. I used Bloc as state management library, which is my personal favorite and also preferred by official Flutter teams on many events.
  3. For equality check I used Equatable instead of Freezed, because I wanted to avoid code-generation as much as possible.
  4. I used FpDart for handling error like functional programming approach.
  5. I used Fast-Immutable-Collection to make List and Map values for convenient.

UI

  1. For loading genre and Movie data I showed loading indicator and for error I showed error message as a popup dialog.
  2. For showing movie details I used a bottom sheet so that the details info become scrollable across the screen which is more user friendly.
  3. For showing movie poster I used CachedNetwork image and I've seen some of the poster links are dead, So I showed red exclamator (!) mark there.
  4. When no internet connection is available, I showed a top indicator informing user that data is now being served from the cache.

Caching

  1. I used Hive as a local database to cache the data. As Hive was last updated 9 months ago, so I used a updated version of Hive from Github.
  2. I also stored data in a temp variable for avoiding unnecessary api calls.
  3. When no internet connection is available, I showed the cached data.

Testing

  1. I used bloc_test library for testing blocs.
  2. I created a fake repository for testing.
  3. As the level of testing was not mentioned and time was short, I only performed unit testing on blocs.

I hope this submission proves my level of expertise in Flutter and Dart. I'm looking forward to hearing from you soon. Thank you.

movie_app_cracktech's People

Contributors

ambanikousik avatar

Watchers

 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.