How an app answers every order

An animated software architecture diagram: how a request travels from the web and mobile apps through the API gateway to the auth, orders and payments services, Postgres and Redis.

animated architecture diagram Open in the editor

Step by step

  1. At the bottom, the data: what the system remembers
  2. Above it, the services that do the work
  3. The edge receives everything coming from outside
  4. On top, the apps people actually use
  5. An order travels from the app to the database
  6. Payments confirms the charge before saving it

Make one like this

Three ways, all free. No account needed.

In the editor

Open this diagram in the editor and change the text, the blocks or the order of the steps. Export it as a GIF or an HTML page.

Open in the editor →

With your AI agent

Install the Fluxygram skill in Claude, Cursor, Codex or Gemini and ask for it in plain words:

Use the Fluxygram skill to make an animated diagram: How an app answers every order.
How to install the skill →

On your site

Download the JSON and show it anywhere with one script:

<script type="module" src="https://cdn.jsdelivr.net/npm/fluxygram@0.3"></script>
<fluxy-gram src="architecture.flux.json"></fluxy-gram>
Download the JSON →
See the JSON behind this diagram
{
  "$schema": "/schema/v1.json",
  "type": "architecture",
  "title": "How an app answers every order",
  "groups": [
    {
      "id": "clients",
      "label": "Clients"
    },
    {
      "id": "edge",
      "label": "Edge"
    },
    {
      "id": "services",
      "label": "Services"
    },
    {
      "id": "data",
      "label": "Data"
    }
  ],
  "nodes": [
    {
      "id": "web",
      "label": "Web app",
      "icon": "browser",
      "group": "clients"
    },
    {
      "id": "mobile",
      "label": "Mobile app",
      "icon": "mobile",
      "group": "clients"
    },
    {
      "id": "gw",
      "label": "API Gateway",
      "icon": "api",
      "group": "edge"
    },
    {
      "id": "cdn",
      "label": "CDN",
      "icon": "globe",
      "group": "edge"
    },
    {
      "id": "auth",
      "label": "Auth",
      "icon": "shield",
      "group": "services"
    },
    {
      "id": "orders",
      "label": "Orders",
      "icon": "package",
      "group": "services"
    },
    {
      "id": "payments",
      "label": "Payments",
      "icon": "card",
      "group": "services"
    },
    {
      "id": "db",
      "label": "Postgres",
      "icon": "database",
      "group": "data"
    },
    {
      "id": "cache",
      "label": "Redis",
      "icon": "zap",
      "group": "data"
    },
    {
      "id": "files",
      "label": "Files",
      "icon": "disk",
      "group": "data"
    }
  ],
  "edges": [
    {
      "id": "web-gw",
      "from": "web",
      "to": "gw",
      "carries": "order"
    },
    {
      "id": "mobile-gw",
      "from": "mobile",
      "to": "gw"
    },
    {
      "id": "web-cdn",
      "from": "web",
      "to": "cdn"
    },
    {
      "id": "gw-auth",
      "from": "gw",
      "to": "auth"
    },
    {
      "id": "gw-orders",
      "from": "gw",
      "to": "orders",
      "carries": "order"
    },
    {
      "id": "orders-payments",
      "from": "orders",
      "to": "payments",
      "carries": "$"
    },
    {
      "id": "auth-db",
      "from": "auth",
      "to": "db"
    },
    {
      "id": "orders-db",
      "from": "orders",
      "to": "db"
    },
    {
      "id": "orders-cache",
      "from": "orders",
      "to": "cache"
    },
    {
      "id": "payments-db",
      "from": "payments",
      "to": "db",
      "carries": "paid"
    },
    {
      "id": "cdn-files",
      "from": "cdn",
      "to": "files"
    }
  ],
  "steps": [
    {
      "show": [
        "db",
        "cache",
        "files"
      ],
      "caption": "At the bottom, the data: what the system remembers"
    },
    {
      "show": [
        "auth",
        "orders",
        "payments",
        "auth-db",
        "orders-db",
        "orders-cache",
        "payments-db",
        "orders-payments"
      ],
      "caption": "Above it, the services that do the work"
    },
    {
      "show": [
        "gw",
        "cdn",
        "gw-auth",
        "gw-orders",
        "cdn-files"
      ],
      "caption": "The edge receives everything coming from outside"
    },
    {
      "show": [
        "web",
        "mobile",
        "web-gw",
        "mobile-gw",
        "web-cdn"
      ],
      "caption": "On top, the apps people actually use"
    },
    {
      "flow": [
        "web-gw",
        "gw-orders",
        "orders-payments",
        "payments-db"
      ],
      "highlight": [
        "web",
        "gw",
        "orders",
        "payments",
        "db"
      ],
      "caption": "An order travels from the app to the database"
    },
    {
      "focus": "payments",
      "highlight": [
        "payments"
      ],
      "flow": "orders-payments",
      "caption": "Payments confirms the charge before saving it",
      "state": {
        "payments": "success"
      }
    }
  ]
}

More examples

See all examples →