sailfork / t3code-github / .repos/ alchemy-effect/ examples/ fly-website-vite
.repos/alchemy-effect/examples/fly-website-vite/README.md
Fly Website: Vite + Notes API
A Tailwind React SPA (Fly.Website.Vite) that reads and writes notes
through an Effect Fly.Service, persisted on Fly.Postgres.
alchemy deploybuilds the SPA (inliningVITE_API_URL) and deploys the API Machine + managed Postgres + the static site.alchemy devis Vite's own server (HMR included). The API Service still deploys (Postgres is live-only).
bun run deploy The SPA is at https://{web-app}.fly.dev. The API is at
https://{api-app}.fly.dev (GET/POST /notes).
bun run destroy