7 Commits
Author SHA1 Message Date
junv 3f9af56060 add sign in 2026-06-20 20:16:20 +10:00
junv 6c898fe1f0 update dev env 2026-06-20 20:06:10 +10:00
Hermes Agent fd647bcc2e feat: add dev-only login for local admin access without OAuth
- POST /api/auth/dev-login creates/finds user, promotes to admin, sets session cookie
- POST /api/auth/dev-logout clears session cookie
- Dev login page at #/dev-login in the SPA
- Fix: getSessionCookieAttributes omits Secure over HTTP (local dev fix)
- Guarded: only works when PUBLIC_HOST=localhost, returns 403 otherwise
- Justfile: dev-admin and dev-logout commands
- README: local admin login instructions
2026-06-20 14:55:28 +10:00
Hermes Agent b81dc0d945 feat: add justfile for all common commands + rewrite README local setup
- justfile with recipes for: build, dev, test, migrate, db helpers,
  deploy (dev/prod), terraform infra, and smoke test
- README rewritten with quick start, command tables, and first-time
  local setup guide
- All commands verified working locally
2026-06-20 14:43:30 +10:00
Hermes Agent cca4ea2ec3 fix: use my.dev.heygo.cc for dev private host instead of my.dev.junv.cc
junv.cc is reserved for k3s home services, not Cloudflare apps.
Both dev and prod private hosts now live under heygo.cc, sharing
the .heygo.cc cookie domain — no cross-domain auth issues.
2026-06-20 14:32:12 +10:00
Hermes Agent e4fbbaec14 feat: add terraform IaC, dev/prod environments, and multi-host worker support
- Terraform configs for D1 databases, KV namespaces, Worker custom domains
- wrangler.dev.jsonc and wrangler.prod.jsonc for environment-specific deployments
- Worker code refactored to use env vars for host checking (PUBLIC_HOST, PRIVATE_HOST)
- Configurable app URLs and cookie domain via env vars
- Deploy and migrate npm scripts for dev/prod
- Updated all tests with new env fixtures
- Deployment guide in README
2026-06-20 14:26:56 +10:00
Hermes Agent 32913619f4 feat: scaffold cloudflare shortlinks app 2026-06-20 09:57:13 +10:00