Git Product home page Git Product logo

github-trending-repos's Introduction

Github Trending Repos React App

This project is a web application that allows users to track and favorite GitHub repositories. View this project in Vercel: https://github-trending-repos-eiqa4o4k7-joshuacrew.vercel.app/

Features

  • Display a list of the repositories created in the last 7 days with the most number of stars on GitHub.
  • Display basic information about the repository, including the repository name, link to GitHub, description, and the number of stars.
  • Allow users to favorite repositories and view a list of favorited repositories.
  • Use local storage for storing favorited repositories.
  • Allow users to filter repositories by the programming languages used.

Implementation Details

This application fetches data from GitHub using the GitHub public search endpoint:

GitHub Repository Search API: https://api.github.com/search/repositories?q=created:>7days&sort=stars&order=desc

The implementation of this project can be broken down into the following steps:

  1. Retrieve a list of repositories created in the last 7 days with the most stars from GitHub.
  2. Display basic information about the repositories, such as name, GitHub link, description, and star count.
  3. Display the repositories and allow users to favorite them and view a list of favorited repositories.
  4. Store favorited repositories locally using local storage.

How to Run

First, clone this repository to your local machine. Then, in the project directory, you can run:

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.\

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

github-trending-repos's People

Contributors

joshuacrew avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.