Domain Configuration
Domain mapping (.hk / .space) and CORS allowlist. Every product site, frontend + backend URLs, dev stack.
SlashOne
Your account, your subscription, your products
One account for the suite: one sign-in, one bill, one place to see every product you own.
Next.js 16 (web)NestJS 11 (api Phase 1-4)FirestorePostgres- Frontend (HK):
*.slashhub.hk— one host per product site, plus the account console - Backend (SPACE):
api.*.slashhub.space— one API service per product - Foundation:
app.slashhub.hk(SSO · subscription · account) andai.slashhub.hk(SlashAI)
| Service | Host | What it serves |
|---|---|---|
| SlashHub SSO | app.slashhub.hk | Sign-in, account, product links, revocation — the one issuer |
| Subscription | app.slashhub.hk | Plans, entitlements, credits, reseller — the only entitlement source |
| SlashAI | ai.slashhub.hk | The agent runtime: tools, memory, approvals |
Every product has its own front door and its own API (DEC-0225, 2026-11-15). Measured on 2026-11-17:
every frontend below answered 200, and every API answered 200 on /v1/health.
| Product | Frontend | Backend API |
|---|---|---|
| SlashOne | slashhub.hk (public site) · app.slashhub.hk (account) | api.slashone.slashhub.space |
| SlashBooks | books.slashhub.hk | api.books.slashhub.space |
| SlashStudio | studio.slashhub.hk | api.studio.slashhub.space |
| SlashMarketer | marketer.slashhub.hk | api.marketer.slashhub.space |
| TimePlate | timeplate.slashhub.hk | api.timeplate.slashhub.space |
| SlashAI (foundation) | ai.slashhub.hk | api.slashai.slashhub.space |
One host per product, one API per product. A product is not reached through another product's host;
app.slashhub.hkis the account console and the SSO issuer, not a shell that renders the other products. Products are linked by the three contracts (identity, entitlement, agent), not by shared routes.
api.slashhub.spaceno longer resolves (measured 2026-11-17: no answer); the SlashOne API isapi.slashone.slashhub.space.
All backend APIs must accept requests from:
# Development
http://localhost:3000
http://localhost:3001
http://localhost:3002
http://localhost:8081
# Frontends (.hk)
https://slashhub.hk
https://app.slashhub.hk
https://books.slashhub.hk
https://studio.slashhub.hk
https://marketer.slashhub.hk
https://timeplate.slashhub.hk
https://ai.slashhub.hk
# Backend APIs (.space) — for server-to-server calls
https://api.slashone.slashhub.space
https://api.books.slashhub.space
https://api.studio.slashhub.space
https://api.marketer.slashhub.space
https://api.timeplate.slashhub.space
https://api.slashai.slashhub.space
Set via environment variable CORS_ORIGIN or ALLOWED_ORIGINS:
# Backend (comma-separated)
CORS_ORIGIN=https://slashhub.hk,https://app.slashhub.hk,https://books.slashhub.hk,https://studio.slashhub.hk,https://marketer.slashhub.hk,https://timeplate.slashhub.hk,https://ai.slashhub.hk,http://localhost:3000
# Frontend — each product points at its own API (SlashBooks shown)
NEXT_PUBLIC_API_URL=https://api.books.slashhub.space/api/v1
Historical. Recorded because old links and old env vars still use the long name.
The slashbooks.* domains were renamed to books.* (cleaner, shorter).
See docs/product/operations/orgs-cutover.md for the full runbook. In short:
- Add new
books.slashhub.hk+api.books.slashhub.spaceto Vercel + Railway - Add Cloudflare DNS records pointing to the new host
- No 301 redirect exists. Measured 2026-11-21:
slashbooks.slashhub.hkanswers 200 and serves a full Next.js app from its own Vercel project (slashbooks-web) - Update env vars in every product (replace the old API variable with the
booksone) - Wait 90 days, then remove the old domain
The old host still serves the app itself, so slashbooks.slashhub.hk/* is a second live origin
alongside books.slashhub.hk, not a redirect. SlashAI's getHealth() and other code paths already
support both names during the transition.
Live origin, never re-approved.
slashbooks.slashhub.hkis a live origin that no decision records as approved after the rename; whether it should be retired or explicitly bound is aDEC-level question, not a documentation one.
Last reviewed: 2026-11-21 — slashbooks.slashhub.hk re-measured: it answers 200 as a live
Next.js origin (slashbooks-web), not the 301 this page described; that row, the paragraph under it, and
the frontmatter date corrected.
Prior: 2026-11-17 — rebuilt against DEC-0225: foundation services have hosts, every product
has its own host and API; all hosts and /v1/health endpoints re-measured 2026-11-17; the dead
api.slashhub.space claim and the CORS example that named a closed host corrected; the slashbooks → books
note is labelled historical.
Prior: 2026-11-13 — brand model applied (DEC-0211/0212): module hosts labelled as 301 targets; the
marketplace's two hosts removed. That model was superseded by DEC-0225 on 2026-11-15.
Prior: 2026-06-28 (slashbooks → books rename)
Continue reading
Ecosystem
7-product portfolio + 3-layer positioning + relationship map. The strategic view of what each product is, who it serves, and how they relate.
~8 min read
Use Cases
Concrete, persona-driven scenarios for every product. Freelancer / OPC / SME personas with end-to-end flows.
~25 min read
System Layout
Multi-monorepo shape, standardized tooling, deployment topology, and the 9-pillar enterprise blueprint.
~10 min read