The atlas is from https://github.com/dkaoster/taiwan-atlas
Demo: http://45.77.16.40:8001/
mysql < weather_forecast_tw.sql
src/SQL/connect.js
const mysql = require('mysql2');
const pool = mysql.createPool({
host: 'localhost',
user: '<YOUR_ACCOUNT>',
password: '<YOUR_PASSWORD>',
database: 'weather_forecast_tw',
waitForConnections: true,
connectionLimit: 100,
queueLimit: 0
});
module.exports = pool.promise();
src/SQL/auth.js
You should get auth from https://opendata.cwb.gov.tw/index.
const auth = '<YOUR_AUTH>'
module.exports = auth
TODO: RWD ControlPanel