Skip to main content
Version: 0.13.0 (Previous)

🧩 Backend Blocks

Backend Blocks is the SDK reference for reusable backend domains. Choose a domain below for its integration guide, then follow its feature, schema, route, and validator links to the exact contract you need. The catalogue reflects every current folder in this directory.

Start here

For a ready-made HTTP integration, begin with a domain's index.md page and its service setup. For a custom integration, start with its features.md page: features compose request schemas and route composers, while the service supplies the usual datastore, configuration, authentication, and optional driver context.

Not every domain is a service. Common, Mongo, Avatar, and File Storage are reusable building-block references; OAuth and Invitation are composed by authService rather than mounted as independent services.

Browse by responsibility

Foundation and shared contracts

DomainUse it forAvailable reference pages
🔄 CommonCross-domain normalization, response helpers, schemas, and validators.Blocks, schemas, validators
🗄️ MongoMongoDB query blocks and projections for custom or domain pipelines.Blocks
📁 File StorageSigned upload/download/delete URLs and file normalization.Blocks, schemas
🖼️ AvatarStored avatar references, signed response URLs, and replacement cleanup.Blocks, schemas

Identity, access, and user-facing state

DomainUse it forAvailable reference pages
🔐 AuthenticationCredentials, tokens, MFA, email verification, and account lifecycle.Blocks, features, handlers, routes, schemas, validators
🆔 IdentityAdministrator identity management and identity lookup contracts.Blocks, features, routes, schemas, validators
🔗 OAuthGoogle, LINE, and Twitter browser OAuth flows composed by authService.Blocks, features, routes, schemas
📧 InvitationAdministrator invitation flows composed by authService.Features, handlers, routes, schemas
👥 ProfileProfiles, avatars, follows, organization follows, and product likes.Blocks, features, handlers, routes, schemas, validators
🔔 NotificationReceiver-scoped notification listing and read-state operations.Blocks, features, routes, schemas, validators

Application domains

DomainUse it forAvailable reference pages
🏠 AddressAuthenticated Japanese postal-code lookup with a host-provided driver.Blocks, features, routes, schemas, validators
🏷️ AttributeNamed groups of string key-value items.Features, handlers, routes, schemas, validators
📂 CategoryPublic category reads and administrator category management.Features, handlers, routes, schemas, validators
💬 ChatHTTP and WebSocket channels, messages, attachments, templates, subscriptions, and read states.Blocks, features, handlers, routes, schemas, validators
📍 LocationHierarchical location reads and administrator management.Blocks, features, routes, schemas, validators
🛒 OrderAuthenticated order lifecycle and organization-scoped order listing.Blocks, features, handlers, routes, schemas, validators
🏢 OrganizationOrganizations, memberships, hierarchy, change requests, uploads, and followers.Blocks, features, handlers, routes, schemas, validators
🛍️ ProductProduct listing, product and variant management, images, organizations, and likers.Blocks, features, handlers, routes, schemas, validators

How the reference pages fit together

PageWhat it documentsWhen to use it
index.mdService or integration setup, dependencies, common workflows, and links to the domain reference.Start here when mounting or choosing a domain.
blocks.mdReusable operations, result/error types, constants, and helpers.Reuse behavior in a custom pipeline.
schemas.mdStored shapes and request validation contracts.Construct a valid request or understand fields.
handlers.mdRoute-pipeline operations and terminators.Understand or reuse legacy pipeline behavior.
routes.mdPublic route composers, HTTP methods, paths, access rules, statuses, and complete source.Verify an endpoint's behavior.
features.mdSchema-to-route composers.Assemble selected endpoint capabilities.
validators.mdAuthentication, authorization, and domain validation composition.Understand access control and validation order.

A domain omits a page when that layer has no relevant public export. Use its Reference map to see its exact set of pages.

Choose an integration path

GoalStart with
Mount a complete SDK serviceThe relevant domain integration guide.
Add a few endpoints to an existing serviceThat domain's features.md, then its schemas.md and routes.md.
Reuse a database, storage, avatar, or normalization helperCommon, Mongo, File Storage, or Avatar.
Implement sign-in, invitation, or OAuthAuthentication; it composes Invitation and OAuth.