Skip to content

A React app that fetches data from a public API and renders it beautifully inside a card.

Notifications You must be signed in to change notification settings

purwar1997/data-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Fetcher

HTML CSS React JS

Description

This project is a React app that fetches data from a public API and renders it inside a card. API returns data of a random user which is then being stored in browser's local storage. This app also has three buttons that can be used to browse between different users.

Learnings from this project -

  • State management of a React app using useState hook
  • Using useEffect hook to perform asynchronous operations like fetching data
  • Sending HTTP requests to a public API using Axios client
  • Using browser's local storage to store fetched data

Preview of the project

preview

Live link of the project.

About

A React app that fetches data from a public API and renders it beautifully inside a card.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published