Skip to content
Weave templates

Microservices Mesh

Gateway fronts Auth, Orders, Catalog, Payments; events flow to async workers.

Template previewWeave
Rendering…

Make it your own.

{
  "nodes": [
    { "id":"cli","type":"ellipse","label":"Web / Mobile","x":40,"y":160,"fill":"#e2e8f0","stroke":"#475569" },
    { "id":"gw","type":"rect","label":"API Gateway","x":230,"y":160,"fill":"#dbeafe","stroke":"#2563eb" },
    { "id":"au","type":"rect","label":"Auth","x":430,"y":40,"fill":"#ede9fe","stroke":"#6d28d9" },
    { "id":"or","type":"rect","label":"Orders","x":430,"y":140,"fill":"#ede9fe","stroke":"#6d28d9" },
    { "id":"ca","type":"rect","label":"Catalog","x":430,"y":240,"fill":"#ede9fe","stroke":"#6d28d9" },
    { "id":"pa","type":"rect","label":"Payments","x":430,"y":340,"fill":"#ede9fe","stroke":"#6d28d9" },
    { "id":"q","type":"rect","label":"Event bus","x":650,"y":190,"fill":"#fef3c7","stroke":"#a16207" },
    { "id":"w1","type":"rounded","label":"Email worker","x":850,"y":120,"fill":"#dcfce7","stroke":"#15803d" },
    { "id":"w2","type":"rounded","label":"Analytics","x":850,"y":210,"fill":"#dcfce7","stroke":"#15803d" },
    { "id":"db","type":"rect","label":"Postgres","x":850,"y":340,"fill":"#fee2e2","stroke":"#b91c1c" }
  ],
  "edges": [
    { "id":"e1","source":"cli","target":"gw" },
    { "id":"e2","source":"gw","target":"au" },
    { "id":"e3","source":"gw","target":"or" },
    { "id":"e4","source":"gw","target":"ca" },
    { "id":"e5","source":"gw","target":"pa" },
    { "id":"e6","source":"or","target":"q" },
    { "id":"e7","source":"pa","target":"q" },
    { "id":"e8","source":"q","target":"w1" },
    { "id":"e9","source":"q","target":"w2" },
    { "id":"e10","source":"pa","target":"db" }
  ]
}