Templates / flowchart
Microservices architecture
A service map with an API gateway, core services, and shared infrastructure. A solid starting point for README architecture sections.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
flowchart
flowchart TD
client[Web / Mobile client]
gateway[API gateway]
auth[Auth service]
orders[Order service]
catalog[Catalog service]
payments[Payment service]
queue[(Message queue)]
db1[(Orders DB)]
db2[(Catalog DB)]
cache[(Redis cache)]
client --> gateway
gateway --> auth
gateway --> orders
gateway --> catalog
orders --> db1
orders --> queue
queue --> payments
catalog --> db2
catalog --> cacheMore templates
sequenceDiagramProcess
User login sequence
A login flow with token issuance and a failure branch. Useful for documenting auth endpoints and session behavior.
stateDiagram-v2Process
Order state machine
Lifecycle states for an e-commerce order, from creation to fulfillment, with cancellation and refund paths.
erDiagramData
E-commerce data model
A compact entity-relationship model for customers, orders, and products with keys and attributes.