In this video, we will create a COVID-19 Tracker/Stats Application. We're going to use React with the addition of Charts.js, Material UI, and many different modules.
Become a PRO at JavaScript: https://bit.ly/MasterJavaScript
Join our JavaScript Mastery's Newsletter on Web Development, JavaScript & React to get exclusive programming guides, tips & tricks, and entire e-books: https://resource.jsmastery.pro/newsletter
Corona Virus is, unfortunately, spreading through the entire world. What can we, as developers, do to make the situation better? We can help to spread awareness by visualizing the data. The data is fetched from the API and we'll create cards displaying the statistics as well as Charts. This project/application is created using the most modern JavaScript syntax. Along the way, you'll learn how to use Material UI, Charts.js, React Hooks, API data fetching, all of it in React JS!
The project is going to fetch the live data from the API using Async/Await syntax. In this video, we also use React Hooks! By the end of this video, you will have a strong understanding of React's workflow; including data fetching, hooks, folder structure, and more.
Disclaimer: The API used in this video stopped displaying the daily values. The whole project still works absolutely fine. If you want to have the daily data (and a corresponding chart), I found the API that offers the daily data for the US and implemented it. All necessary changes that you need to make are in this GitHub commit - http://bit.ly/DailyDataFix. (while you're there feel free to the repository)
Materials/References:
GitHub Code (feel free to give it a star ) - https://github.com/adrianhajdin/project_corona_tracker
Image: https://i.ibb.co/7QpKsCX/image.png
API: https://covid19.mathdro.id/api
Business Inquiries:
[email protected] Find Me Here:
Discord Group: https://discord.gg/n6EdbFJ
Instagram: https://instagram.com/javascriptmastery
Twitter: https://twitter.com/JS_Mastery
BuyMeACoffe: https://www.buymeacoffee.com/JSMastery
#reactjs #webdev #javascript