Skip to content

ben91lin/Taiwan-Forecast-Map

Repository files navigation

Taiwan-Forecast-Map

The atlas is from https://github.com/dkaoster/taiwan-atlas

Demo: http://45.77.16.40:8001/

Create Database.

mysql < weather_forecast_tw.sql

Create Two Essential File.

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published