Skip to main content

Multi-service apps

Some projects run more than one process — for example a website and an API server. Workspace — chat on the left, Preview or Code on the right

Preview picker

When both kinds of services are running, Preview shows a menu grouped into:
  • Websites — browser-facing apps
  • Servers — APIs and backends
Pick the service you want to inspect. The address bar follows the active preview. If only one service is running, the menu stays simple (no groups).

Publish

Publishing snapshots the project. Container backends can deploy as Fly apps (including extra services when the run config defines them). You get one live public URL for the app people open — not a separate “staging vs production” toggle in Publish.

Tips

  • Ask the agent clearly: “add an API server and keep the Vite front end”
  • Use App Testing against the live preview after big changes
  • For Dockerfile backends, see How the tech is chosen