This is a hiring assignment for Flutter developer. For demo purpose I have chosen docker compose repo to show its issues search and other filter features. I have used older version of github API which doesn't requires authentication and access token. This same can be acheived using v3 Github API. In the below steps of getting started, you can skip the github access token step. Also to note that Github API response are paginated, which means that to get more results we have to constantly increase last part of the endpoint to hit. For demo purpose, I haven't implemented the paginated version but can be done with some additions to the code.
To get a local copy up and running follow these simple steps.
- Clone the repo
git clone https://github.com/abhishekaashu/issue_finder.git
- Install FLUTTER 2.0.5 (SDK Version)
Install DART 2.12.3
1.Depend on it
Open the pubspec.yaml file located inside the app folder.
2.Install it
a.From the terminal: Run flutter pub get.
OR
b.From Android Studio/IntelliJ: Click Packages get in the action ribbon at the top of pubspec.yaml.
c.From VS Code: Click Get Packages located in right side of the action ribbon at the top of pubspec.yaml.
-
Set the environment variables.
-
Start the server
flutter run
1. To try search issue, type in the keyword and press the search button
2. To try filters press the icon in top right corner and select accordingly.
After choosing filters again press search button in the main screen to get updated results
3. To filter by author type the author name in the filters menu