Skip to content

nguyenvanhoangnhan/japan-prefectures-population-graph

Repository files navigation

React + TypeScript + Vite

Japan's population by prefectures (1960 - 2045)

API Source: RESAS

Preview

Demo

https://japan-population.vercel.app/

Environment Setup

Create RESAS Account and get your API Key here: https://opendata.resas-portal.go.jp/form.html

Create .env file in root folder and add the following variables:

VITE_VERCEL_ENV_API_KEY=<your-api-key>

Install dependencies

npm install

Run App with Vite

npm run dev

Compiles and minifies for production

npm run build

Preview the built app

npm run preview

Format the code

npm run format

Lints and fixes files

npm run lint
npm run lint:fix