This project is coded with ❤️ using React (Typescript)
This app shows live Air Quality index. Home Page shows a bar graph and a Table for all of the cities which receive live updates from the web socket. Click on any of the cities in the table to see the history of AQI in a table view and graph.
live-aqi-demo.mp4
This project was created using Create React App and following additional dependencies were added
chart.js // graphing library
dayjs // used to format relative time
react-router-dom // used for routing
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.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.