Skip to content

Java api with Spring Boot 3, JPA, Swagger, H2 (dev), Postgres (prod) and Mermaid for diagram, it's a simple reddit api, deploy in railway.

Notifications You must be signed in to change notification settings

HenrikSantos/java-restful-api-springboot-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

classDiagram
    class Post {
        + post_id: String
        + title: String
        + post_comment: String
        + author: String
        + subreddit: Subreddit
        + score: int
        + img: String
        + comments: List<Comment>
    }

    class Subreddit {
        + subreddit_id: String
        + name: String
        + image: String
        + posts: List<Post>
    }

    class Comment {
        + comment_id: String
        + comment_author: String
        + comment_text: String
        + comment_score: int
    }

    Post "1" --> "1" Subreddit : belongsTo
    Subreddit "1" --> "*" Post : hasPosts
    Post "1" --> "*" Comment : hasComments
Loading

About

Java api with Spring Boot 3, JPA, Swagger, H2 (dev), Postgres (prod) and Mermaid for diagram, it's a simple reddit api, deploy in railway.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published