This project was bootstrapped with Create React App.
In the project directory, you can run:
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.
This is the main java script file. All the components are importeded here. Function to fetch API is here. This function is passed as props to Navbar component. State of this funstion is passed to Users components as props.
This component receives props users and loading. It makes decision of returning Loading or Users components. It passes key and user as props to UserItem compoent.
This component returns a spinner 'loader.gif' if Loading is true i.e in the period when API is being fetched.
This component uses props and puts data in a card grid layout.