This is a dynamic webpage that presents the realtime AQI maps of Peking University, including both 3D (3-dimentional) and 2D (2-dimentional).
It consists of client, server and database. Somehow it's not complete because I'M STILL WORKING ON IT...
The client is implemented by HTML/CSS and JavaScript. We use Bootstrap and jQuery to simplify the process.
The server is coded by Node.js and Express, as well as Python.
Update: We add Python files to real-timely scrape AQI data from Moji.
The database I use is MySQL. It's easy and free to establish your databases through MySQL.
Update: We also add SQLite for images and AQI matching. MySQL and SQLite can be converted depend on needs.
- Run your xx.sql file to establish your databases. Notice that you should first add your contents into your databases/tables.
$ source *your filepath*.sql
- Start your server realized by Node.js.
$ node server.js
Attention: The website is not complete now and still needs some works.