Templates / sequenceDiagram
Push notification delivery
Server-triggered push through a platform gateway (APNs/FCM) down to the device.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
sequenceDiagram
sequenceDiagram
participant Server
participant Gateway as Push gateway
participant Platform as APNs / FCM
participant Device
Server->>Gateway: Send notification payload
Gateway->>Platform: Forward with device token
Platform->>Device: Deliver push
Device-->>Platform: Delivery receipt
Platform-->>Gateway: Delivery status
Gateway-->>Server: Update notification logMore 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.