Giter Site home page Giter Site logo

github-search's Introduction

GitHub Repository Search

Overview

This is a web application that allows users to search for GitHub repositories and view detailed information about them. The application is built with Next.js, Typescript, React Context API, css-modules and uses the GitHub API for data fetching.

Live Demo

The application is deployed on Vercel.

Features

  • Search functionality: Users can enter a GitHub username to fetch and display a list of repositories associated with that user.
  • Repository List: Displays the repository list, showing the repository name, description, and the number of stars.
  • Repository Details: When a user clicks on a repository in the list, it displays detailed information about that repository including the repository’s name, description, owner’s username, number of stars, and a link to the repository on GitHub.
  • Error handling: Implemented error handling for API calls and display appropriate error messages.
  • Pagination: Added pagination to the repository list. Displays a limited number of repositories per page and allows users to navigate between pages

Learn more in technical documentation.

How to Run Locally

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies with npm install.
  4. Start the development server with npm run dev.
  5. Open http://localhost:3000 to view it in the browser.
  6. Run tests with npm test.

github-search's People

Contributors

jaola2987 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.