ユネスコ世界遺産を検索アプリのフロントエンドの内容です。
A SPA to search UNESCO World Heritage sites.
-
地域 / カテゴリ / キーワードによるフィルタリング Filter by Region / Category / Keyword (single "travel-style" search bar)
-
画像を押下することで、一覧→詳細へ遷移 Clean list-to-detail navigation with image-first layout
- React + TypeScript + Vite
- React Router
- TailwindCSS(ホワイトベーステーマポリシー / white-based theme policy)
- (任意 / Optional)Jest + Testing Library
-
コンテナコンポーネントがデータ取得・状態管理を担当
Container components handle data fetching/state. -
プレゼンテーションコンポーネントはUIレンダリングに専念
Presentational components focus on UI rendering. -
検索パラメータは単一の
SearchQuery型で管理
Search parameters are handled as a singleSearchQuerytype.
cd client
docker compose up -d --build
docker compose exec frontend sh
npm ci
npm run dev -- --host 0.0.0.0 --port 3876アプリは http://localhost:3876 で起動します
App runs at http://localhost:3876