How ja2024-gaboja/gaboja-client works
Project type and purpose
• This is a front-end single-page application built with React, TypeScript, and Vite.
• Its purpose is to let users view a map, create walking routes, display weather banners, and obtain address info via external APIs.
File structure
• Top level: package.json, vite.config.ts, index.html, public/ for static assets.
• src/ divides concerns:
• src/pages – page-level components (Home, CreateRoute, Make)
• src/components – reusable UI pieces (MapView, Tooltip, WeatherBanner, layout, nav)
• src/apis – HTTP client instance and API endpoint definitions
• src/hooks – custom React hooks for geolocation, routing layers, timers, address lookup
• src/store – application state management (e.g., global store or context providers)
• src/utils – pure functions (coordinate conversion, date/time helpers, path string builders)
• Build & config: Vite (vite.config.ts), ESLint (eslint.config.js), TypeScript config (tsconfig.*.json)
Key insights from README
• Confirms React + TS + Vite setup with HMR and ESLint.
• No backend or server code—external APIs are consumed directly from the client.