Foundations

Backend Schema — Backend Fundamentals

This schema shows the minimum structure Avora needs to generate a usable backend.

Workspace contractWhat it definesWhere to edit
Data modelEntities, fields, enums, keys, validation, and relationshipsDiagram Builder
API contractMethods, paths, headers, params, body inputs, outputs, and status codesRequest Builder
Behavior contractQueries, conditions, loops, variables, integrations, outputs, and error handlingLogic Flow Builder
Runtime contractFramework, database, environment variables, generated files, preview state, and SwaggerCode Generation

If a generated result looks wrong, return to the contract that created it. Edit the visual workspace, then regenerate.