Skip to content

sahil143/live-aqi-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Air Quality Index

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

Dependencies

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

Time to build this project: 6 hours.

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

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.

yarn build

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.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.