How the three projects fit together

Understand Service, Admin, and CMS + Theme before choosing a deeper documentation path.

Change a business rule in Service, an editing experience in Admin, and content structure or rendering in CMS + Theme. The public site combines Service and the theme. Admin runs independently and calls Service over HTTP. The news example below shows where data changes.

Follow one announcement

An editor enters a title, body, and cover in Admin. Admin sends an HTTP request to Service, which validates the operation and stores the business data. When a reader visits the announcement, CMS + Theme delivers it as a page. CMS supplies fields, URLs, and references. The theme decides how layouts, templates, and sections present them.

flowchart LR
  accTitle: Admin saves an article through Service, CMS supplies public page data, and Theme renders the page
  A["Edit an article in Admin"]
  B["Validate and save in Service"]
  C["Assemble page data in CMS"]
  D["Render the page in Theme"]
  A --> B --> C --> D
What you want to change Start here First check
Business validation, APIs, storage, or background work Service framework Request contract and owning business module
Editor, list, filter, or assistant action Admin framework Route, page, and data request
News sections, content fields, layouts, or public rendering CMS + Theme Module, template, and public page data

Source and deployment boundaries

Service lives in packages/service and Admin in apps/admin. CMS business logic belongs to the CMS context within Service. Themes implement the contract in packages/platform/theme, with the default implementation in packages/theme. The public application in apps/sitenera composes Service, the platform runtime, and the chosen theme. Admin builds separately and talks to the public site’s /_/* APIs.

These three project areas organize different development tasks. A product deployment typically exposes two applications: the public site and Admin. Platform supplies runtime drivers so Node and Workers can use different storage and cache implementations.

Saving, previewing, and serving a visit

  • Saving writes data through a Service use case.
  • Previewing uses a ticket and can display edits that have yet to be saved.
  • Public visits use published content. In the recommended VPS deployment, Node.js serves published HTML files first. Previews and pages waiting for their first artifact use the normal render path.

To try the full workflow, publish your first page. For requests and responses, continue with the Service request lifecycle.