@edgebasejs/admin-console
v0.1.11
Published
EdgeBase Admin Console - Next.js admin dashboard for EdgeBase
Readme
EdgeBase Admin Console
Separate Admin UI for EdgeBase.
This app connects to a Worker URL that is configured in the setup screen (/setup/).
Run Locally
From this directory:
npm run devOpen http://localhost:3001.
Worker Connection
On first start the app asks for the Worker URL (for local dev typically http://localhost:8787).
Then you can:
- sign in with an existing admin account
- create the first admin account if none exists
Build / Preview / Deploy
Run from this directory (apps/admin-console):
npm run build
npm run preview
npm run deployCommands:
preview: builds OpenNext output and starts Wrangler dev previewdeploy: builds OpenNext output and deploys to Cloudflare Workers via Wranglercf-typegen: regeneratescloudflare-env.d.tsfrom Wrangler bindings
CI/CD:
- GitHub workflow:
.github/workflows/admin-console-ci-cd.yml - Required repository secrets:
CLOUDFLARE_ACCOUNT_IDCLOUDFLARE_API_TOKEN
