This application serves to view statistics on the population change of Japan's prefectures in different years.
The interface automatically adapts to devices with small screen sizes: the list of prefectures is displayed on a separate screen, the graph becomes more compact, and so on.
The application uses the Resas API to retrieve statistics, so you may need to enter your personal API key before starting.
For convenient development, you can use environment variables to specify the API key. For example, it can be specified in the .env.local file. In this case, the screen for entering the key will not appear.
VITE_RESAS_API_KEY=6UxrytHy48tPWUdrbEobXmoew8brj8
Github Actions are used to automatically build, test, and deploy the application to Github Pages.
npm install
npm run dev
npm run build
npm run test:unit
npm run lint