-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
๐ 2๋จ๊ณ - ๋ชจ๋ธ๋ง ํ๊ธฐ #401
base: kimjunbo
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ชจ๋ธ๋ง ๋ฌธ์ ์์ฑ ์ํด์ฃผ์
จ๋ค์ ๐
๋ช๊ฐ์ง ์๊ฐ๊ฑฐ๋ฆฌ๋ฅผ ๋จ๊ฒจ๋์๋๋ฐ ํ์ธ ๋ถํ๋๋ฆฝ๋๋ค ๐
4. (์ฌ์ฅ๋) ๋ฉ๋ด๋ฅผ ๋ฑ๋กํ๋ค. | ||
|
||
## CONTEXT MAP | ||
![img.png](images/context-map.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ปจํ ์คํธ ๋งต๊น์ง ์ถ๊ฐ ํด์ฃผ์ จ๋ค์ ๐
@@ -271,3 +271,239 @@ docker compose -p kitchenpos up -d | |||
| ์น์ด๋ค. | clear | ์ฃผ๋ฌธ ํ ์ด๋ธ์ ์น์ด๋ค. | | |||
|
|||
## ๋ชจ๋ธ๋ง | |||
|
|||
### ์ํ(Product) | |||
#### ์ํ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ํ์ ํ์๋ฅผ ๋ถ๋ฆฌํ์ฌ ๋ชจ๋ธ๋ง์ ์งํํด์ฃผ์
จ๋ค์ ๐
๋ ๊ฒฝ๊ณ๊ฐ ๋ช
ํํ๊ฒ ๋๋์ด์ง๊ฒ์ ์ฅ์ ์ด์ง๋ง, ์์ฑํด์ฃผ์ ํ์๋ฅผ๋ณด๋ฉด ์ํ์ ๊ด๋ จ๋ ๋ด์ฉ๋ค์ด ํ์์์๋ ์๋ต๋๊ฒ ๊ฐ์์.
๋ชจ๋ธ๋ง ๋ฌธ์๋ฅผ ๋ณด๋ ์
์ฅ์์ ์ํ์ ๋ํ ์ง์์ด ์๋ค๋ฉด ํ์๋ง ๋ด์๋ ์ด๋ค ์๊ตฌ์ฌํญ์ ๋ชจ๋ธ๋งํ๊ฒ์ธ์ง ํท๊ฐ๋ฆด์ ์๋ค๋ ์๊ฐ์ด ๋ญ๋๋ค.
ํ์์์๋ ์ํ์ ๊ด๋ จํ ๋ด์ฉ์ ๋ชจ๋ ์๋ตํ์ง ์๊ณ ์ ์ ํ๊ฒ ํ๊ธฐํด๋ณด๋๊ฑด ์ด๋จ๊น์ ?
- ๊ฐ๊ฒฉ์ 0์๋ณด๋ค ์์ ์ ์๋ค. | ||
#### ํ์ | ||
- ์ํ์ ๋ฑ๋กํ ์ ์๋ค. | ||
- PurgomalumClient๋ฅผ ํตํด ๋น์์ด ๊ฒ์ฆ์ ํ๋ค. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์์ ์ฝ๋ฉํธ์์ ๋ถ์ฐ ์ค๋ช
ํ์๋ฉด ์ด๋ค๊ฒ์ ๋น์์ด ๊ฒ์ฆ์ ํ๋์ง ์์๊ฐ ์์ต๋๋ค.
ํนํ, ๋๋ฉ์ธ์ ์ต์ํ์ง ์์ ์ฌ๋์ด๋ผ๋ฉด ๋์ฑ ์๊ธฐ ์ด๋ ค์ธ๊ฒ ๊ฐ์์ ๐
- ๋ฐฐ๋ฌํ๊ธฐ ์ฃผ๋ฌธ์ธ ๊ฒฝ์ฐ์๋ ๋น์ด์์ ์ ์๋ค. | ||
- ์ฃผ๋ฌธ ํ ์ด๋ธ(orderTable) | ||
- ๋จน๊ณ ๊ฐ๊ธฐ์ธ ๊ฒฝ์ฐ ์ฃผ๋ฌธ ํ ์ด๋ธ์ ํ์๊ฐ์ด๋ค. | ||
#### ํ์ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ฃผ๋ฌธ ์ํ๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๋ชจ๋ธ๋ง ์์ฑ์ํด์ฃผ์
จ๋ค์ ๐
์ฃผ๋ฌธ ํ์
์ ๊ธฐ์ค์ผ๋ก ํ์๋ฅผ ๋๋์ด ๋ณด๋๊ฑด ์ด๋ป๊ฒ ์๊ฐํ์๋์ ?
} | ||
``` | ||
## ์ ์ฑ | ||
### ๋ฐฐ๋ฌํ๊ธฐ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์์์ mermaid๋ฅผ ํ์ฉํ์ฌ ํด๋์ค ๋ค์ด์ด๊ทธ๋จ์ ์์ฑํด์ฃผ์
จ๋๋ฐ, ๋์๊ฐ ํด๋น ์ ์ฑ
๋ค์ sequence diagram์ผ๋ก ํํํด๋ณด๋๊ฑด ์ด๋จ๊น์ ?
https://mermaid.js.org/syntax/sequenceDiagram.html
๋์ฒ ๋ ์๋ ํ์ธ์~
2๋จ๊ณ ๋ฏธ์ PR ๋๋ฆฝ๋๋ค.
์ ๋ถํ๋๋ฆฝ๋๋ค!