Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sohailmahmud/github-search

A Flutter-based app that enables users to search for various resources on GitHub. The app is multifunctional and can perform different tasks.
https://github.com/sohailmahmud/github-search

Last synced: 26 days ago
JSON representation

A Flutter-based app that enables users to search for various resources on GitHub. The app is multifunctional and can perform different tasks.

Awesome Lists containing this project

README

        

# Example GitHub Search app built in Flutter & RxDart

Simple app using the Flutter [`SearchDelegate`](https://api.flutter.dev/flutter/material/SearchDelegate-class.html) class to show a list of users matching the input search query:

The app uses `switchMap` & `debounce` from RxDart for a good user experience, without putting too much load on the server, or compromising bandwidth and battery life on the client.

Simple architecture diagram:

![](media/github-search-diagram.png)

- `GitHubSearchAPIWrapper`: pulls the data from the GitHub REST API
- `GitHubSearchResult`: contains the API response data
- `GitHubSearchDelegate`: shows the search UI with a grid of results
- `GitHubSearchService`: holds the logic for wiring up the API wrapper with the UI

### [LICENSE: MIT](LICENSE.md)