Infrastructure as code
for TypeScript.
Define your services, volumes, and jobs as typed code. Deploy with a single command.
See it in action
Your infrastructure.
Your language.
Services, volumes, jobs, and cron schedules. Typed, composable, and colocated with your app.
vyft.config.ts
| 1 | import { service, site, postgres, redis } from "vyft"; |
| 2 | |
| 3 | const db = postgres("db"); |
| 4 | const cache = redis("cache"); |
| 5 | |
| 6 | export const api = service("api", { |
| 7 | domain: "example.com/api/*", |
| 8 | path: "./apps/api", |
| 9 | depends: [db, cache], |
| 10 | }); |
| 11 | |
| 12 | export const web = site("web", { |
| 13 | domain: "example.com", |
| 14 | path: "./apps/web", |
| 15 | }); |
TypeScript native
Typed, autocompleted, colocated with your app. No YAML, no DSLs.
Simple primitives
Services, jobs, cron, and volumes. Compose them together, link services, mount data.
Single command deploys
vyft deploy diffs, orders, and executes. Preview changes before they land.