FlowScript — service architecture
Engineering-vertical FlowScript example — C4 container view from `service`, `datastore`, `actor` types.
Make it your own.
system saas {
title: "SaaS platform"
owner: "Platform team"
}
actor customer { title: "Customer", kind: "user" }
service web { title: "Web app", runtime: "Next.js", tier: "edge" }
service api { title: "API", runtime: "Go gRPC", tier: "core", depends: [web] }
service worker { title: "Worker", runtime: "Go", tier: "core", depends: [api] }
datastore primary { kind: "postgres", title: "Primary store" }
datastore blob { kind: "s3", title: "Uploads" }
view containers: c4_container(saas)