Templates / flowchart
Serverless function architecture
An API gateway routing to Lambda functions backed by a shared table and an event topic.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
flowchart
flowchart TD
client[Client request] --> apiGw[API gateway]
apiGw --> fn1[Lambda: create order]
apiGw --> fn2[Lambda: get order]
fn1 --> db[(Orders table)]
fn2 --> db
fn1 --> topic[[SNS topic: order created]]
topic --> fn3[Lambda: send confirmation email]More templates
flowchartArchitecture
Microservices architecture
A service map with an API gateway, core services, and shared infrastructure. A solid starting point for README architecture sections.
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.