Templates (Template)
In this page
Model
| Field | Notes |
|---|---|
name, description | Marketing-style metadata. |
type | AppType (e.g. LARAVEL, EXPRESS, REACT). |
runtime | RuntimeKind used when instantiating from template. |
repositoryUrl | Optional starter repo URL. |
featured, downloads, tags[] | Catalog presentation fields. |
Seed data
apps/api/prisma/seed.ts inserts starter templates (Laravel, Express, React) when the table is empty.
API and UI
GET /templates— catalog.POST /templates/:id/instantiate— creates an application (server + optional name) using template defaults, then triggers the normal deploy pipeline.- UI
/templates— Use Template calls instantiate and navigates to the new application when successful.