Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 2.46 KB

README.md

File metadata and controls

56 lines (45 loc) · 2.46 KB

imdb

A Flutter application made for IMDb as proof of concept

Getting Started

  1. First you need to install Flutter and Android Studio.

  2. If you need, install Xcode too. Clone this repository

    git clone https://github.com/erick-adl/The-Movie-Database-Flutter.git
    
  3. Install VSCode

  4. install Flutter plugin, then cmd + shift + p, type Pub: Get Packages.

  5. cmd + shift + p, type Flutter: Run Flutter Doctor, this command will help you to check if your flutter application can run on both android and ios platform.

  6. Navigate to lib/imdb_key.dart and change the apiKey "<IMDB_API_KEY>" to your own api key

  7. Run this command inside imdb folder:

    flutter packages pub run flutter_launcher_icons:main
    

    This command will change the app icons on start, see flutter_launcher_icons

  8. Now you can start the application, first navigate inside imdb/lib folder and open main.dart:

  9. To run the application you can press F5 or open your terminal inside imdb/lib folder and type flutter run.

Libraries

dependencies:
  flutter:
    sdk: flutter
  mockito: ^4.1.1
    Used to mock class to test
  http: ^0.12.0
    A composable, Future-based library for making HTTP requests. Used to create requests to imdb api
  rxdart: ^0.20.0
    RxDart is a reactive functional programming library for Google Dart, based on ReactiveX. Used to bloc implementation 
  bloc_pattern: ^1.3.0
    Package that helps you implementing BloC Pattern by Dependency Injection in your project.
  flutter_launcher_icons: ^0.7.4
    A package which simplifies the task of updating your Flutter app's launcher icon.
  cached_network_image: ^1.1.3
    A flutter library to show images from the internet and keep them in the cache directory.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference. "# the-movie-database-flutter"