Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 2.01 KB

README.md

File metadata and controls

53 lines (34 loc) · 2.01 KB

Flutter Top Repositories

This Flutter project allows users to fetch and display the top repositories from GitHub. The main page of the app includes a scroll button with the options to select the number of repositories to display (5, 10, or 15) and a "fetch" button. When the user selects a number and clicks the "fetch" button, the app will retrieve and display the selected number of top repositories in a list of card widgets, each containing the repository's name, URL, description, and number of stargazers.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installing

1. Clone the repository:

git clone https://github.com/[USERNAME]/flutter-top-repositories.git 

2. Navigate to the project directory:

cd flutter-top-repositories 

3. Add your GitHub API key to the .env file (optional):

GITHUB_API_KEY=[YOUR_API_KEY]

4. Run the app:

flutter run

Built With

  • Flutter(- A cross-platform mobile app development framework)
  • GitHub API(- Used to retrieve data from GitHub)
  • http(- A library for making HTTP requests in Flutter)
  • dart:convert(- A library for decoding and encoding JSON in Dart)

For further help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Thank you...!