The best way to control Claude Code, Codex and more from any computer or phone

main
md 20 lines 566 Bytes
Rendered Raw
1 # Fly Website: Vite + Notes API
2
3 A Tailwind React SPA (`Fly.Website.Vite`) that reads and writes notes
4 through an Effect `Fly.Service`, persisted on `Fly.Postgres`.
5
6 - `alchemy deploy` builds the SPA (inlining `VITE_API_URL`) and deploys
7 the API Machine + managed Postgres + the static site.
8 - `alchemy dev` is Vite's own server (HMR included). The API Service
9 still deploys (Postgres is live-only).
10
11 ```sh
12 bun run deploy
13 ```
14
15 The SPA is at `https://{web-app}.fly.dev`. The API is at
16 `https://{api-app}.fly.dev` (`GET`/`POST /notes`).
17
18 ```sh
19 bun run destroy
20 ```