Skip to content

reactpractice-dev/search-github-repositories

Repository files navigation

Build a The Github Search repositories page

This repository is the companion to the "Build a Github repositories search page" practice exercise.

Build a Github Repositories search page, with sorting and pagination. You can use the Github REST API /search/repository endpoint to query the data. The results should be paginated; by default, show 10 repositories per page.

Users should be able to:

  • search repositories by name
  • choose how many items to show per page
  • choose what to sort by: best-match, stars, most-updated

You can use React Query for fetching the data. If you hit the rate limit, you can work with a mock JSON file of the data in development, or alternatively, setup an API key to increase your rate limit.

The search is inspired by this Github page: https://github.com/search?q=nextjs&type=repositories&s=&o=desc

Getting started:

  • npm install
  • npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors