gitname / gh-cc-exercise

An exercise involving `cc-react-scripts` and the GitHub REST API (built using React & Redux)

Home Page:https://gitname.github.io/gh-cc-exercise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GH CC Exercise

Introduction

GH CC Exercise is a web app that displays information about a GitHub user. It was originally developed over a holiday weekend as an exercise in using cc-react-scripts and the GitHub REST API v3.

Screenshot

Screenshot of GH CC Exercise

Technologies

GH CC Exercise was built using the following technologies:

Features

GH CC Exercise has the following features:

  • Interactive Charts: When the visitor hovers over a data point in a chart, the chart displays a tooltip containing information about that data point
  • Loading Indicator: While the web application fetches data from the internet, it displays a loading animation
  • Responsive Layout: The layout of the page automatically adjusts itself to accommodate screens of various widths (e.g. desktop and mobile)
  • REST API Utilization: The web application retrieves data from GitHub via the GitHub REST API v3

Limitations

GH CC Exercise has the following limitations:

  • Limited Data Retrieval: When the web application fetches data from GitHub, it only fetches the first page of results. Generally, that means only the most recent repositories, pull requests, etc. are reflected in the web application's user interface. This limitation is accounted for in the text on the user interface, in its regular employment of the word, "recent."
  • Hits GitHub's REST API Rate Limit: GitHub limits the number of times a computer can access its REST API during a given time period. It is possible—by reloading the page multiple times in rapid succession, for example—to cause this web application to hit that limit on behalf of a visitor's computer. When that happens, the web application will display generic error information on the page. Visitors can recover from that error by refraining from using the web application—and from otherwise accessing the GitHub REST API—for several minutes (e.g. 20 minutes).
  • Hard-Coded Username: The web application does not provide a means by which a visitor can change which GitHub profile (i.e. username) the app is displaying information about. A future version of the app may provide such a means.

Demo

You can explore a live version of GH CC Exercise at the following URL:

https://gitname.github.io/gh-cc-exercise

About

An exercise involving `cc-react-scripts` and the GitHub REST API (built using React & Redux)

https://gitname.github.io/gh-cc-exercise


Languages

Language:JavaScript 94.5%Language:HTML 3.1%Language:CSS 2.4%