Label the two dev-copy tenants with their live names (Krishtech, B2E TECHNOLOGY PVT LTD) so the local panel looks like production. The databases are still the safe copies (kw_admin_*); only the display names change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UnrQB3KMANKKnKu9MsPDcs
Qwenter Admin
The operators' panel for a Qwenter server: every client with its logins, roles and usage, adding and changing logins, onboarding a client, and a log of every change. React 19, Vite, StyleX and the Astryx UI kit, in Qwenter's own design.
| Folder | What |
|---|---|
src/pages, src/components, src/lib |
The panel |
src/shared |
Qwenter's components, theme and sign-in, copied from the main repository's apps/web/src. Change them there, then copy again |
api |
operator-admin.patch: the part of the Qwenter API this panel needs |
Run
corepack pnpm install
corepack pnpm dev # http://localhost:5180, API expected on :4010 (KW_API_PORT)
corepack pnpm build # dist/
The API
The panel has no backend of its own: it calls /api/operator/* of the Qwenter API. Apply the patch to the main repository (until it is merged there), from its root:
git apply <path>/api/operator-admin.patch
It also adds infra/scripts/admin-local.sh, which starts a local API (:4010) on copies of the local databases, for pnpm dev here.
Going live
- An address for the panel with its DNS pointing at the server, and
KW_OPERATOR_HOSTon the API set to it. - Serve
dist/at that address and proxy/apiand/healthto the API, keeping theHostheader (the API picks the operator screen by it). - An operator sign-in: realm
kwenter-ops, clientkwenter-ops-web, rolekw-operator(seeKW_OPERATOR_ISSUER). Without the role nobody gets in. Never setKW_DEV_AUTHon a server. - Onboarding stays off unless
KW_OPERATOR_ONBOARD=1andKW_ADMIN_DATABASE_URLare set: it creates databases.
No passwords, keys or client data belong in this repository.
Description
Languages
TypeScript
53.2%
CSS
37.1%
JavaScript
8.1%
HTML
1.3%
Dockerfile
0.3%