Frontend App

Publish a static frontend UI to your project URL, preview it first, and roll back if needed.

Frontend App

Frontend App lets you host a static user interface next to the backend you built in Spala. Use it when your project needs a simple deployed app UI without wiring another hosting service first.

What It Helps With

- One project URL - keep the backend API and app UI connected to the same Spala project.
- Preview before frontend publish - upload a build, inspect the preview URL, then publish the frontend app only when it looks right.
- Agent handoff - copy instructions for an AI coding agent so it can build and upload the frontend package.
- Rollback - restore the previous frontend app if the new upload is not correct.
- Cleanup - remove old staged uploads after review.

Publish A Frontend App

Frontend App
    Use this screen when you already have a static build ZIP or want to give an agent upload instructions.

Upload or use agent mode

Upload a ZIP manually, or copy the agent instruction and let an AI coding tool prepare the build.

Preview

Spala validates the upload and returns a preview URL. Check routing, API calls, login behavior, and mobile layout before publishing.

Publish frontend app

Click Publish in Frontend App to make the staged UI live for the project. This publishes static frontend assets; backend API changes still use Publish backend API.

Delivery Boundary

| Action | What changes | Where it lives |
| --- | --- | --- |
| Publish backend API | Tables, functions, endpoints, tasks, triggers, agents, channels, settings, and generated API behavior | Project API base URL |
| Publish frontend app | Static UI files uploaded through Frontend App | Project frontend URL |
| Deploy generated project artifact | Generated project runtime sent to an external target | Your server or deploy provider |

Backend first, frontend next

Spala is still the source of truth for your backend: tables, auth, endpoints, functions, tasks, triggers, docs, and MCP. Frontend App gives that backend a hosted UI when you need one.

When To Use It

Use Frontend App for product demos, internal tools, client portals, and AI-generated app UIs that call your Spala endpoints. If you already host your frontend on Vercel, Netlify, or another provider, you can keep doing that and use Spala only for the backend API.

API Docs
/features/api-docs
Give frontend builders the generated API contract
Publish
/features/publish-export
Publish backend changes before connecting the frontend
MCP
/agents/mcp
Let agents resolve the right project MCP before working