t3-code-android-nightly/.repos/alchemy-effect/examples/hetzner-website-vite
Julius Marminge 6f9cea00ae
chore(refs): sync Effect and Alchemy references to 4.0.1 and beta.80 (#16170)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 13:22:30 -07:00
..
src chore(refs): sync Effect and Alchemy references to 4.0.1 and beta.80 (#16170) 2026-10-05 13:22:30 -07:00
test chore(refs): sync Effect and Alchemy references to 4.0.1 and beta.80 (#16170) 2026-10-05 13:22:30 -07:00
alchemy.run.ts chore(refs): sync Alchemy reference to beta.76 (#10654) 2026-09-07 21:54:45 -07:00
index.html chore(refs): sync Alchemy reference to beta.76 (#10654) 2026-09-07 21:54:45 -07:00
package.json chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327) 2026-09-17 23:21:25 -07:00
README.md chore(refs): sync Alchemy reference to beta.76 (#10654) 2026-09-07 21:54:45 -07:00
tsconfig.json chore(refs): sync Alchemy reference to beta.76 (#10654) 2026-09-07 21:54:45 -07:00
vite.config.ts chore(refs): sync Alchemy reference to beta.76 (#10654) 2026-09-07 21:54:45 -07:00

Hetzner Website: Vite + Notes API

A Tailwind React SPA (Hetzner.Website.Vite) that reads and writes notes through an Effect Hetzner.Service. Hetzner has no managed Postgres, so the API stores rows in a Neon branch.

  • alchemy deploy builds the SPA (inlining VITE_API_URL) onto a cpx12 in fsn1 and deploys the API unit on the same Server.
  • alchemy dev is Vite's own server (HMR included).
export HCLOUD_TOKEN=...
bun run deploy

The SPA is at http://{ipv4}:3000. The API is at http://{ipv4}:3001 (GET/POST /notes).

bun run destroy