Templates / sequenceDiagram
Password reset sequence
A self-service password reset flow from request through emailed link to confirmed update.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
sequenceDiagram
sequenceDiagram
actor User
participant App
participant API as Auth API
participant Mail as Email service
User->>App: Request password reset
App->>API: POST /password-resets
API->>Mail: Send reset link
Mail-->>User: Reset email
User->>App: Open link, set new password
App->>API: POST /password-resets/:token
API-->>App: Password updated
App-->>User: ConfirmationMore 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.