Accounts and access
Registration and account operations share the same Subject ownership rules.
Code Framework · Free code
Start with registration, carts and payments already in the framework. Add your business rules to the Next.js frontend and the Hono API. The code and documentation are free; hosted AI Chat is a separate service.

Use the existing modules together and extend the rules your product needs.
Registration and account operations share the same Subject ownership rules.
Products, orders, currencies and payment integrations form the commerce flow.
Blog and Website Builder keep content records and the blocks that display them.
The same patterns are used in the running Framework examples and the articles in this blog.
A model owns its service and repository. Higher modules compose lower capabilities through explicit relations.
SDK readers load records. Views receive typed data, and browser interactions stay in client components.
Controllers assemble routes and middleware; services own operations; repositories read and write data.
Subject operations check the current account and ownership before returning private records.
SDK results use React Query. Database changes invalidate dependent reads through the shared consistency pipeline.
Domain Widgets own queries, forms and mutations. Website Builder owns saved copy, imagery and layout.
Local setup uses Node.js, npm, Bun and Docker. The repository README contains the setup commands and requirements.
Clone the repository and open it in your editor or coding agent. Read AGENTS.md and the README for this checkout.
Install dependencies, start PostgreSQL and Redis with the setup script, then start API and Host.
Describe a concrete business change, inspect the result and keep the account and payment flows working.
Framework shows product cards, forms and content composition. The blog explains implementation details. AI Chat is the hosted service built on the same project.