人口構成グラフ
ゆめみパスポート夏祭り(フロントエンド・2024 年 8 月)の答案実装
ゆめみパスポート夏祭り・フロントエンドコーディング試験
課題「都道府県別の総人口推移グラフを表示する SPA(Single Page Application)を構築せよ」
コマンド | 説明 |
---|---|
npm run dev |
開発用サーバを起動する |
npm run build |
ビルドする |
npm run start |
ビルドした成果物を起動する |
npm run lint |
リントを実行する |
npm run format:check |
フォーマットのチェックを実行する |
npm run test |
テストを実行する |
依存関係をインストール
npm ci
環境変数を設定
cp .env .env.local # .env.local に記述すればよい
開発用サーバを起動
npm run dev
ソースコードをテスト
npm run lint
npm run format:check
npm run test
ビルド
npm run build
成果物を起動
npm run start