This is the frontend for GeoApp, built with React, TypeScript, and Vite. It renders interactive Mapbox-based geographic visualizations and consumes data from a FastAPI backend. The app is deployed via AWS Amplify with GitHub integration.
This project uses .env files to manage settings for local and production environments.
-
Copy the example environment file:
cp .env.example .env
-
Update
.envwith your local settings:VITE_API_BASE_URL=http://localhost:8000/api VITE_MAPBOX_API_KEY=your_mapbox_token
-
Start the dev server:
yarn install yarn dev