diegotori / the_infatuation_coding_challenge_flutter

Flutter version of The Infatuation Coding Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Infatuation Coding Challenge (Flutter Edition)

Enables one to search GitHub Repositories and add them to a list of favorites sent through a Docker based endpoint.

Use the Search Bar on the top to search for GitHub Repositories and select one from the resulting Suggestions List in order to add it to your favorites. The Favorited Repos should appear below the Search Bar.

Swipe left and tap Delete to remove the favorited repo. You can also Pull-to-Refresh the Favorites List in order to refresh the current data.

Finally, toggle the PlatformSwitch to the right of the Search Bar in order to sort favorited repos by stargazer count.

Installation

  • Install the Flutter SDK for your specific platform.

  • Optionally install either Android Studio or Visual Studio Code.

  • Run the Docker container by typing:

    $ docker run -p 8080:8080 gcr.io/hiring-278615/reposerver:v1.1
  • In the project's root directory, run the app by typing:

    $ flutter run -t lib/main.dart

    You may get prompted to select a device to run the app with.

    Or from within Android Studio/Visual Studio Code, Create a Run Configuration that runs lib/main.dart.

    In Android Studio, select the device you want run the app on from the dropdown to the left of the Run Configuration dropdown.

  • Run tests by typing:

    $ flutter test

About

Flutter version of The Infatuation Coding Challenge


Languages

Language:Dart 97.6%Language:Ruby 1.7%Language:Swift 0.5%Language:Kotlin 0.2%Language:Objective-C 0.0%