Code Monkey home page Code Monkey logo

github-repo-api-fetch's Introduction

My Github Repositories API Fetch

A web application created to fetch the github repositories of users, built with reactjs and using the Github API

In this project, I implemented a client-side application using the React JavaScript library and the react-router-dom library for routing.

To retrieve data from the GitHub API, I implemented an API call using the fetch call. The API call was used to fetch my user profile and repository data, which was then displayed on the “repositories page” using a card UI. Each card displayed the repository title, language, and a button to view more details about the repository.

To improve error handling, I utilized an error boundary component, which is a React pattern that allows for the catching of JavaScript errors within the component tree and the display of a fallback UI instead of crashing the application. This is a feature introduced in React 16 and can be used to improve the stability of the application by preventing uncontrolled errors from propagating and crashing the entire application.

To checkout the project use this link: https://github-repo-api-fetch.netlify.app/

Currently, two official plugins are available:

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.