Multiple implementations of the same back-end application. The aim is to provide quick, side-by-side comparisons of different technologies (languages, frameworks, libraries) while preserving consistent business logic across all implementations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

830 B

General request sequence with authentication

sequenceDiagram
    participant Client as HTTP Client
    participant Router as Request Router
    participant Auth as JwtMiddleware
    participant Controller as Controller
    participant UseCase as Use Case

    Client->>Router: POST /api/items (with JWT)
    Router->>Auth: Forward request

    alt Authentication successful
        Auth->>Auth: Validate JWT
        Auth->>Controller: Forward authenticated request
        Controller->>Controller: Parse request body to DTO
        Controller->>UseCase: execute()
        UseCase-->>Controller: Result (success/error)
        Controller->>Controller: Convert result to HTTP response
        Controller-->>Client: HTTP Response (2xx)
    else Authentication fails
        Auth-->>Client: 401 Unauthorized
    end