Monitoring air quality in Madrid.
- Download or clone project, then
cd
it. npm install
on root directory (airmon
).
Get public data related to air particles, meteo and traffic conditions.
- Specify the mongoDB server URL to save the data (
export aws="<URL>"
) - Run crawler with
node crawler.js
or run each file individually (particles.js
,meteo.js
andtraffic.js
).
Reactjs files for dashboard.
cd webui
npm install
npm start
runswebpack-dev-server
(webpack dev build)- Optional: deploy
build
directory withnow-cli
,heroku
or similar.
WIP.