Skip to content

mayl730/population-of-japan

Repository files navigation

日本語版 README はこちら

Population of Japan by prefecture

Discover Japan's Population Trend with Vue3 + Vite!

Choose your favorite prefecture and explore Japan's latest population trend in this project. Learn more about the country's changing demographics!

image for the website

Live site: https://population-of-japan.vercel.app/

Tech Stack

Getting Started

Follow these steps to set up and run the project locally.

Prerequisites

Recommended IDE Setup

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/mayl730/population-of-japan
  1. Install the dependencies using npm.
npm install
  1. Sign up and get your API key at here: RESAS API

  2. Setup your environment file and name it as .env. env file template

Put your own API key at the environment file:

VITE_API_KEY=XXXXXXXXXXXXXXXXXXXXXX
  1. Running the Development Server
npm run dev

Additional Commands

npm run build : Build the production-ready code in the dist folder.

Future Update

  • Display error messages on the website during failure states.
  • Conduct tests using Cypress.