Astro

Initialize

Run:

npm create astro@latest

It will guide you through choicies for setup.

Select Starlight for a documentation site.

Environment Variables

In Astro, client-side env vars must start with PUBLIC_. So make sure it’s like:

PUBLIC_CONTACT_ROUTE_URL=https://api.elliotreed.net/contact