Documentation
    Preparing search index...

    Module @quatrain/api-server

    @quatrain/api-server-express

    The @quatrain/api-server-express package provides the backend REST layer for Quatrain, exposing the underlying DataObjects and Backend engines through HTTP endpoints.

    • Express Adapter: A lightweight wrapper around Express to bootstrap APIs instantly.
    • Auto-generated Endpoints: Pre-built CrudEndpoint and ListEndpoint handlers to instantly expose a Quatrain model (e.g. StudioProperty, StudioModel) as a complete REST API.
    • Middleware Support: Pluggable Express middlewares.

    Refer to the HOWTO.md file for usage examples.

    Functions

    CrudEndpoint
    ListEndpoint
    ValuesEndpoint