create_backend
Give this project a real Python backend, served at /app on its own site -- so it can have a genuine LOGIN and admin area.
Reach for this when the user wants something a static page cannot do: a password-protected page, an admin panel listing their form submissions, per-visitor state, anything needing a session. A client-side password is not a login and must never be offered as one.
You get a working starter app (login + an admin page listing the project's submissions) and an admin password to hand the owner. Tell them to save it -- but it is NOT lost if they do not: calling create_backend again on the same project returns the SAME password and does not reset the app or its data, so never tell an owner to delete a backend to regain access. From there, edit it with write_backend_file, inspect it with read_backend_file / list_backend_files, and debug it with read_backend_logs.
/app is served on the SITE's own hostname, so it exists only on the PUBLISHED site (and any custom domain) -- the editor preview origin resolves projects differently and has no /app. A fetch to /app/... that fails on a preview URL is not a broken backend; publish and try there before reporting a fault.
The backend is Python/Flask ONLY, runs sandboxed with no internet
access, and reaches this project's submissions through the provided
helper (from orivox import collections, state_path). Requires a plan
that includes backends; if it does not, say so plainly and offer the
data-collection form instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | No | signups | |
| project_guid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||