Skip to main content

Prerequisites


Clone and install


Environment configuration


Start the dev server

The app opens at http://localhost:5173 with Vite’s hot-module replacement.

Available scripts


Project structure


Tech choices


Connecting to a remote server

To point the client at a staging or production API, set VITE_API_URL in your .env:
Then restart the dev server. The variable is baked into the build at compile time via Vite’s import.meta.env.

Production build

Output goes to dist/. The dist/ directory is a standard static file bundle — deploy it to any static host (Netlify, Vercel, S3 + CloudFront, etc.) or serve it with Nginx. Set VITE_API_URL as a CI/CD environment variable so the correct API URL is baked in at build time for each environment.