Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.74 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.74 KB

Single page application that displays a list of GitHub users

See the app here.

Users are fetched using the GitHub Search API because it supports regular pagination. For Users API I would use either load more or infinite scroll approach. Requests are made using axios HTTP client. User interface is made with Ant Design Components. HashRouter is used to have working router on refresh.

Redux store is used to keep page and page size when user go back from details page. Users list is not in the store. It would be nice, but I had to stop somewhere. 😉 In addition I migth not be up to date with Redux because lately I used just React Context instead. Please let me know if it's any good. 😊

Request are not authenticated thus there is limit of 10 request per minute. Be cool. 😎 Wait one minute if you get the API rate limit exceeded... toast.

Available Scripts

In the project directory, you can run:

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

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn 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!

See the section about deployment for more information.