Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djccnt15/spring_board
Spring 기반 게시판 서비스
https://github.com/djccnt15/spring_board
java spring spring-mvc spring-security
Last synced: 16 days ago
JSON representation
Spring 기반 게시판 서비스
- Host: GitHub
- URL: https://github.com/djccnt15/spring_board
- Owner: djccnt15
- License: mit
- Created: 2024-11-17T00:52:30.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-23T13:43:41.000Z (19 days ago)
- Last Synced: 2025-01-23T14:24:13.585Z (18 days ago)
- Topics: java, spring, spring-mvc, spring-security
- Language: Java
- Homepage:
- Size: 488 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spring_board
스프링 기반 게시판 서비스
## dependency
- Java 17
- gradle
- check `build.gradle` for other dependency## utils
- [swagger open-api](http://127.0.0.1:8080/swagger-ui/index.html)
## ERD
```mermaid
erDiagram
STATE {
bigint id PK
string name UK
}USER_INFO {
bigint id PK
string name UK "null"
string password "null"
string email UK "null"
datetime created_datetime
enum role "null"
}STATE ||..o{ USER_STATE : ""
USER_INFO ||..o{ USER_STATE : ""
USER_STATE {
bigint user_id PK, FK
bigint state_id PK, FK
string detail "null"
datetime created_datetime
}USER_INFO ||..o{ LOGGED_IN : create
LOGGED_IN {
bigint id PK
bigint user_id FK
datetime created_datetime
}CATEGORY |o..o{ CATEGORY : child
CATEGORY {
bigint id PK
int tier
string name
bigint parent_id FK "null"
}USER_INFO ||..o{ POST : create
CATEGORY ||..o{ POST : categorize
POST {
bigint id PK
bigint author_id FK
bigint category_id FK
datetime created_datetime
bool is_active "default=True"
}POST ||..|{ POST_CONTENT : meta-data
POST_CONTENT {
bigint id PK
int version "default=0"
datetime created_datetime
string title
text content
bigint post_id FK
}USER_INFO ||..o{ VOTER_POST : vote
POST ||..o{ VOTER_POST : voted
VOTER_POST {
bigint user_id PK, FK
bigint post_id PK, FK
}USER_INFO ||..o{ COMMENT : create
COMMENT {
bigint id PK
bigint author_id FK
bigint post_id FK
datetime created_datetime
bool is_active "default=True"
}COMMENT ||..|{ COMMENT_CONTENT : meta-data
COMMENT_CONTENT {
bigint id PK
int version "default=0"
datetime created_datetime
text content
bigint comment_id FK
}USER_INFO ||..o{ VOTER_COMMENT : vote
COMMENT ||..o{ VOTER_COMMENT : voted
VOTER_COMMENT {
bigint user_id PK, FK
bigint comment_id PK, FK
}
```