1# Railway Website: Vite + Notes API
2
3A Tailwind React SPA (`Railway.Website.Vite`) that reads and writes notes
4through an Effect `Railway.Function` (canvas, no registry) persisted on
5`Railway.Postgres`.
6
7Alchemy generates a Dockerfile and Railway builds it. No GHCR.
8
9- `alchemy deploy` builds the SPA (inlining `VITE_API_URL`) and deploys
10 Postgres + the Function + the static site.
11- `alchemy dev` is Vite's own server (HMR included).
12
13```sh
14bun run deploy
15```
16
17```sh
18bun run destroy
19```