How the Vite edition is organised
Every screen and its URL is in src/routes.tsx, with pages under src/pages/. Detail screens are detail.tsx with :id routes. Load data with a route loader and useLoaderData, keep secrets on your backend, and use VITE_ variables only for public values such as your API's URL. See Deploy for hosting.