Table of Contents
Here's a blank template to get started: To avoid retyping too much info. Do a search and replace with your text editor for the following: github_username, repo_name, twitter_handle, linkedin_username, email_client, email, project_title, project_description
This is a React application that retrieves and displays a list of users from a public API. This project aims to focus on API requests, state management and data presentation in React.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/pingchenchan/UsersList.git
- Install NPM packages
npm install
- Runs the app in the development mode.Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
npm start
You may also see any lint errors in the console.
There is a header and a search button on this page, clicking search will fetch the api to get the user list.
Circular progress as loading indicator when searching fetch api to get users list.
users list
When the page becomes narrower, the table will shrink the columns to UserName only, the other columns can be viewed from the drop-down icon.
There is a footer at the bottom of the page, which is also responsive.

- When the application loads, it should fetch a list of users from a public API (e.g., the JSONPlaceholder API at https://jsonplaceholder.typicode.com/users).
- While the data is being fetched, display a loading indicator.
- Once the data is fetched successfully, display the list of users in the UserList component.
- If there is an error during the API request, display an error message in the ErrorDisplay component.
- Using MaterialUI to Make Web Pages Attractive and Responsive.
- The UsersList has Expand/Collapse function, when the page becomes narrower, the table will shrink the columns to Name only, the other columns can be viewed from the drop-down icon.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
Ping-Chen Chan - pingcc1@uci.edu
Project Link: https://github.com/pingchenchan/UsersList
