Coder Social home page Coder Social logo

movietrailer's Introduction

Movie Trailer

This is a Movie trailer app:

  • Apply flutter clean archetect: 8h.
  • Auto detect locale of device to fetch data with device locale. Then APIs will return text with device locale: 4h.
  • Auto detect offline to show warning message. Then when user get connection, it automatically fetch data from API: 4h.
  • Implement classes/functions to fetch data from TMDB APIs: 8h
  • Apply mobx package to store data and communicate with UI: 8h.
  • Implement bottom navigation: 6h.
  • Implement body tabbars/ tabviews: 3h.
  • Implement paging/lazy loading to load more movies when user scroll down to the end of movie list: 6h.

Introduction:

Open project with Visual Studio Code. Open emulator (iphone/android). Then run commands:

flutter packages get

flutter run

Libraries and architecture:

  • Architecture: Clean architecture:

  • Libraries:
    • mobx: State management
    • flare_flutter, flare_dart: animated image
    • shimmer: animated text.
    • http: call api
    • google_fonts: show text using google fonts
    • get_it: Create and use singleton object
    • flutter_screenutil: display a reasonable layouts
    • connectivity_plus: detect on/offline.
    • devicelocale: detect device locale.
    • equatable: compare objects easier.
    • youtube_player_flutter: show and play youtube url.

My Issues during developing the app:

  • Spent time to learn Mobx and apply it to project. I spent time to fix some issues to make mobx work well with UI.
  • I spent so much time to keep structure of project clean.
  • I planed to do many things but I found that: they are not required to implement. So I'll implement if you need:
    • User screen(set theme, language, login/logout).
    • Implement tabs: latest, now playing, upcomming.
    • Implement filters: search by title, adult, ....

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.