Skip to content

Java Spring Boot

Finn Lippok edited this page Apr 9, 2023 · 9 revisions

Structure

image

Example Sequence Diagram for Adding new Post

sequenceDiagram
    Frontend->>+JwtAuthenticationFilter: Add new post request
    JwtAuthenticationFilter->>+jwtService: Check Token 
    jwtService-->>-JwtAuthenticationFilter: Token is Valid 
    JwtAuthenticationFilter->>+PostController: forward new post Request
    PostController->>+UserService: get User
    UserService->>+UserRepository: findbyUsername
    UserRepository-->>-UserService: User DAO
    UserService-->>-PostController: User DAO
    PostController->>+PostService: Add new Post
    PostService->>+PostRepository: Save post
    PostRepository-->>-PostService: ‎
    PostService-->>-PostController: 
    PostController-->>-Frontend: Post DAO as ResponseEntity
Loading

API

Posts

User

Comment

FileData

Admin

Authentication

Clone this wiki locally