GithubHelp home page GithubHelp logo

yjsvd-team's Introduction

☔ 六都即時雨量資訊

🍹 簡介

本專案透過**氣象局開放資料平臺之資料,擷取API以文字的方式展示六都的即時雨量,並呈現24小時內的台灣整體觀測雨量

screen shot screen shot

🛠️ 功能

網頁即時呈現六都即時雨量

⛱️ 10 分鐘平均累積雨量 0.00
⛱ 3 小時平均累積雨量 0.00
⛱ 日平均累積雨量 0.00

🖱️ 滑鼠單擊「點擊觀看」即可呈現當直轄市各區即時雨量

🖼️ 點擊不同直轄市,背景城市畫面會進行更動

🌏 另有24小時內的台灣整體觀測雨量

📂 目錄

✨ 架構

前端開發

  • HTML
  • CSS:採 BEM 命名法、以 Grid 實踐 RWD
  • JavaScript:串接**氣象局開放資料平臺之資料 API、Google Maps APIs的串接應用

開發工具

  • 採 Git/GitHub 來進行版本控管

程式碼規範

  • CSS:採 BEM 命名法。如:raindrop__intro--hint
  • Javascript:
    • Variable, Arguments: 蛇型命名法(Snake case)。如: station_in_city
    • Function: 蛇型命名法(Snake case)。如:get_precipitation_in_municipality()

參數說明

參數名稱 資料類型 取值範圍 說明
url string - API 前綴
info key/value - API 授權內容
station_in_city key/value - 各直轄市的觀測站數量
precipitation_in_city key/value - 雨量單位:毫米
dist Object - 放各區降雨量
info_to_string string - 將 json 變為字串
map Object - new google map object
locations array - 觀測站地點
heatmap_data array - 放 Heatmap 的資料陣列
rain_data Object - 放入權重至指定地點
heatmap string - new heatmap object

📑 開發流程

網頁畫面與功能參考

目標確認

  • 使用網頁技術串接氣象資料開放平台API,即時呈現六都即時雨量
  • 運用Git/GitHub來建立團隊合作流程,並藉由討論、分享、實作等使團隊成員能增加團隊合作之經驗

專案管理

專案分支整併

  • 從各個 downstream develop 分支上傳至個人 GitHub 帳號底下並於 Upstream 新建 Pull Requests,待小組成員 Review 完畢,再 Mergemain 分支

🖇️ 參考資料

氣象資料開放平台-開發指南

**氣象局開放資料平臺之資料擷取 API

數據看台灣,台灣即時雨量資訊

Maps JavaScript API

😎 Contributors

  1. Sam
    • 定義專案框架
    • 彙整並簡報此專案
    • Code Review
  2. Doris
    • 專案建立人
    • 梳理專案說明文件
    • 專案管理
    • Code Review
  3. Jack
    • 完成畫面切版
    • 樣式表建立
    • Code Review
  4. Vicky
    • 彙整專案 README
    • 熱點圖建立
    • Code Review
  5. Yin
    • API 串接
    • 完成前端 View 整合
    • Code Review

yjsvd-team's People

Contributors

vicky-playground avatar yintc123 avatar twcamel avatar pingdori avatar jackdatsai avatar

Watchers

 avatar

yjsvd-team's Issues

Make it more readable in wheather_api.js

in wheather_api.js

  1. get_24h_precipitation_in_Municipality()
  2. get_3h_precipitation_in_Municipality()
  3. get_10m_precipitation_in_Municipality()

這三段 function 看起來好像可以寫成同一段XD
如果評估後不行的話請幫我 close , 感恩


Update: ebhancement here: PR #11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.