Preview & Swagger — Backend Fundamentals
Preview and Swagger are where you verify that the generated backend behaves like the workspace.
Task
Generate the backend, start a preview, and test the API contract in Swagger.
Steps
- Fix blocking validation errors in the workspace.
- Open Code and generate the latest preview code.
- Inspect important files before running the backend.
- Open Deploy and start a preview backend.
- Open the preview URL, then open Swagger Docs.
- Test signup, login, create, read, update, delete, and custom action requests with realistic data.
- Return to Avora when Swagger shows a wrong field, missing status, unsafe access rule, or broken logic path.
Expected Result
Swagger should show the routes, inputs, auth requirements, status codes, and response shapes you designed in Avora.
Next
Use Code Generation, Deployment, and Database to inspect, run, and manage the generated backend.