東京備蓄ナビ (Tokyo Stockpile Navi)
日本語のREADMEはこちらです: README.ja.md
An interactive web application to help you calculate your family’s emergency stockpile needs, based on the official “Tokyo Stockpile Navi” by the Tokyo Metropolitan Government.
Demos
Features
- Interactive Calculator: A step-by-step tool to determine personalized stockpile recommendations based on family size, age, and gender.
- Multilingual Support: Full Japanese and English language support (i18n).
- Static Site Generation: Built with Nuxt.js for fast, static deployment.
- Theme Customization: Includes blue, yellow, and black color themes for accessibility.
- Data Export: Provides stockpile item data in CSV format.
- Accessibility: Features for adjusting font size and color contrast.
Technology Stack
- Framework: Nuxt.js (v2)
- UI: Vue.js
- Internationalization: nuxt-i18n
- Data Processing: Deno for CSV generation
- Styling: PostCSS with CSS variables
Getting Started
Prerequisites
- Node.js (v14 or later recommended)
- npm (v6 or later)
- Deno (for running data scripts)
Installation & Development
- Clone the repository:
git clone https://github.com/code4fukui/tokyobichikunavi.git
cd tokyobichikunavi
- Install dependencies:
- Run the development server:
# Serve with hot reload at http://localhost:3000
npm run dev
Available Scripts
npm run dev: Starts the development server.
npm run build: Builds the application for production.
npm run start: Starts the production server (after building