Skip to content

cettoana/cwb-graphql-gateway

Repository files navigation

中央氣象局氣象資料 GraphQL API Gateway

Build Status Build Status Known Vulnerabilities Heroku code style: prettier

中央氣象局氣象資料開放平臺 (Central Weather Bureau Open Data) GraphQL API Gateway

Live Demo - GraphQL Playground

Implemented API

Data name Data ID Query Schema
自動氣象站-氣象觀測資料 O-A0001-001 weatherObservations
自動雨量站-雨量觀測資料 O-A0002-001 rainfallObservations

Deploy To Heroku

Env Variables Required To Run

  • CWB_API_KEY

  • PLAYGROUND_ENABLED

Get Your API Key From Here

Deploy to Heroku

Developement

Requirements

  • node >= v8.9.1
  • npm >= v5.5.1
  • yarn >= v1.3.2
git clone https://github.com/cettoana/cwb-graphql-gateway.git
yarn install --pure-lockfile
yarn build
yarn start

and Browse http://localhost:4000 to Play with GraphQL Playground.