Production
Dashboard at auth.appneurox.com, APPNEURAL's sign-in at auth.appneurox.com, and one auth.<domain> per connected domain, all from D1 auth-catalog-db. Migrations 0004–0010 add the auth tables; the registry tables from 0001–0003 are left in place. Before the first deploy: npm run db:migrate:remote, then set the optional secrets above with npx wrangler secret put.
Deploy from your machine
Important
The wrangler login sees several Cloudflare accounts. Set CLOUDFLARE_ACCOUNT_ID to the APPNEURAL account in your shell first, or Wrangler stops to ask.
Terminal
npm install
npm run db:migrate:remote
npm run deploySet the secrets once (they stay across deploys):
Terminal
npx wrangler secret put EDIT_PASSCODEDatabase migrations
Applied in order from migrations/:
| # | Migration |
|---|---|
| 0001 | create catalog items |
| 0002 | add workspace tables |
| 0003 | seed catalog items |
| 0004 | create auth service |
| 0005 | sign in methods |
| 0006 | auth hosts |
| 0007 | auth host connections |
| 0008 | webhooks |
| 0009 | two factor |
| 0010 | app url |
Check that it is live
Terminal
curl https://auth.appneurox.com/healthIt answers {"status":"ok"} when the Worker and its database are up.