isketch Templates Convert Format Open the editor

Microservices

8 shapes and 8 connections, sketched in isketch.

Open this template

Microservices OrderPlaced PaymentTaken reserve stock Web app Server-rendered API gateway Routing, auth, rate limits Orders Owns the orders tables Payments Cards, refunds, webhooks out Inventory Stock levels Event bus OrderPlaced, PaymentTaken Orders DB Search indexer Builds the read model

The .flow source

The whole template as text: copy it, keep it in your repo, hand it to an agent.

examples/templates/microservices.flow
title: Microservices
note: Four services, one gateway, events between them.

web = terminal "Web app" -- Server-rendered
gateway = process "API gateway" -- Routing, auth, rate limits
orders = process "Orders" -- Owns the orders tables
payments = process "Payments" -- Cards, refunds, webhooks out
inventory = process "Inventory" -- Stock levels
events = data "Event bus" -- OrderPlaced, PaymentTaken
ordersDb = database "Orders DB"
search = process "Search indexer" -- Builds the read model

web -> gateway
gateway -> orders
gateway -> payments
orders -> ordersDb
orders -> events : OrderPlaced
payments -> events : PaymentTaken
events -> inventory : reserve stock
events -> search