Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 844 Bytes

File metadata and controls

61 lines (40 loc) · 844 Bytes

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