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
-
Notifications
You must be signed in to change notification settings - Fork 0
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.
HenrikSantos/java-restful-api-springboot-3
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published