Application (Heroku link) that helps to get a list of users and display their profile information, exploiting the GitHub public API Rest.
- Clone the project on your computer:
$ git clone https://github.com/enriqueMontano/github-explorer.git
- Install necessary libraries:
$ cd github-explorer
$ npm i
On the project root directory
$ npm start
For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.
The returned HTTP headers of any API request show your current rate limit status:
$ curl -i https://api.github.com/users/octocat
> HTTP/1.1 200 OK
> Date: Mon, 01 Jul 2013 17:27:06 GMT
> Status: 200 OK
> X-RateLimit-Limit: 60
> X-RateLimit-Remaining: 56
> X-RateLimit-Reset: 1372700873
For more information about this, you can consult the official documentation.
Project is created with:
- React: v16.13.1
- Redux: v4.0.5
- Styled-components: v5.2.0
For handle errors was implemented with Error boundaries to catch errors during rendering, in lifecycle methods, and in constructors of the whole tree below them.
Error overlay cannot be disabled in development mode and catching an error does not prevent it.
All you have to do to test my boundary is press escape once it pops out and you can go home page again if you clicking the button.