In this exercise, the goal is to learn api's in react:
- Axios,
- REST API,
- Fork this repo
- Clone this repo
Whenever you create a first significant change, you should make your first commit.
- Follow these guidelines to add, commit and push changes.
In the end of this document, you will find guidelines on how to submit the exercise.
In this lab we will try to work with API's in react. The main idea of this lab is to fetch details from external API, process it and display it. We have 4 components. One parent component HomeComponent
and 3 child components
- OverallComponent
- SearchComponent
- StateComponent
The main theme behind the lab is to fetch book details and display it for reading. They can like it or dislike it after they have read it. So let's start building it.
https://api.covid19india.org/
Kindly see the output:
Create a parent component called HomeComponent
with three child components inside it
- OverallComponent
- SearchComponent
- StateComponent
Just display the overall covid details as given below.
Keep a search bar to find the particular state wise COVID tally.
Display the statewise covid details.
Based on the COVID ACTIVE CASES
and RECOVERED CASES
. Find out the recovery ratio and display it at the side.
Based on the recovery ration sort the states.
You are free to do a complete styling if you want.
If you didn't add, commit and push the changes you made, this is the last call. ๐
please share your github links with your Mentors. Your Mentor's will check up your work and provide feedback.
If you managed to do it, good job! ๐
We are proud of you!
Happy Coding ProGrad โค๏ธ!