都道府県別の総人口推移グラフを表示する SPA
ディレクトリ | 機能 |
---|---|
@types | 型の定義 |
components | UI コンポーネントの定義 |
pages/api | API との接続 |
pages | components の組み立て |
styles | グローバル CSS の定義 |
test | API 取得のテスト |
.env.local
ファイルを作成し、取得した API Key を RESAS_API_KEY
に代入する(.env.local.sample
参照)yarn dev
or npm run dev
で http://localhost:3000 を開く*RESAS-API: https://opendata.resas-portal.go.jp/
*RESAS-API 仕様書: https://opendata.resas-portal.go.jp/docs/api/v1/index.html
*Highcharts: https://www.highcharts.com/