From c960ab2304b0027321bb1be923243d4c9a4524d6 Mon Sep 17 00:00:00 2001 From: Jisu Lim <69844138+Ji-soo708@users.noreply.github.com> Date: Sat, 1 Feb 2025 21:32:41 +0900 Subject: [PATCH] =?UTF-8?q?[YS-242]=20docs:=20README.md=20=EC=97=85?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=8A=B8=20(#74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: update README.md * docs: update README.md * docs: update image * docs: update with correct package name --------- Co-authored-by: Sujung Shin <113707388+chock-cho@users.noreply.github.com> --- README.md | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 98d724f6..6ecf61a2 100644 --- a/README.md +++ b/README.md @@ -1 +1,94 @@ -# 25th-Web-Team-2-BE +# Gradmeet ๐Ÿ”ฌ + + +## ๐Ÿ“Ž Architecture +architecture + +
+ +## โœจ Tech Stack + +| IDE | IntelliJ | +|:---|:---------------------------------| +| Language | Kotlin | +| Framework | Spring Boot 3.4.1, Gradle | +| Authentication | Spring Security, JSON Web Tokens | +| Orm | Spring Data JPA | +| Database | MariaDB | +| External | Nginx, Docker, Redis | +| CI/CD | Github Action | +| API Docs | Swagger | + +
+ + +## ๐Ÿ“ฆ Package Structure + +### domain: ๋„๋ฉ”์ธ ๊ณ„์ธต + +```text +- ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง์„ ์ฒ˜๋ฆฌํ•˜๋Š” ํ•ต์‹ฌ ๋„๋ฉ”์ธ ๊ฐ์ฒด๋“ค (model) +- ๋„๋ฉ”์ธ ๊ฐ์ฒด์˜ ์˜์†์„ฑ ๋ฐ ์™ธ๋ถ€ ์‹œ์Šคํ…œ๊ณผ์˜ ์ธํ„ฐํŽ˜์ด์Šค (gateway) +``` + +| | presentation | infrastructure | application | util | domain | +|-------------|---|---------|------|---------|--------| +| ์˜์กด ๊ฐ€๋Šฅ ์—ฌ๋ถ€ | - | - | - | O | - | + +### util: ์œ ํ‹ธ ํŒจํ‚ค์ง€ + +```text +- ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง๊ณผ ์ง์ ‘์ ์ธ ๊ด€๋ จ์ด ์—†๋Š” ๊ณตํ†ต์ ์ธ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” ์œ ํ‹ธ๋ฆฌํ‹ฐ ํด๋ž˜์Šค +- TsidUtils ๋“ฑ +``` + +| | presentation | infrastructure | application | util | domain | +|-------------|---|---------|------|---------|--------| +| ์˜์กด ๊ฐ€๋Šฅ ์—ฌ๋ถ€ | - | - | - | - | - | + +### application: ์‘์šฉ ์„œ๋น„์Šค/UseCase ๊ณ„์ธต + +```text +- ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง์„ ์ˆ˜ํ–‰ํ•˜๋Š” ์„œ๋น„์Šค ๋ฐ ์œ ์ฆˆ์ผ€์ด์Šค ๊ตฌํ˜„ +- ๋„๋ฉ”์ธ ๊ฐ์ฒด๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์ฃผ์š” ๋™์ž‘์„ ์ฒ˜๋ฆฌ +``` + +| | presentation | infrastructure | application | util | domain | +|-------------|---|---------|------|---------|--------| +| ์˜์กด ๊ฐ€๋Šฅ ์—ฌ๋ถ€ | - | - | - | O | O | + + +### infrastructure : ์™ธ๋ถ€ ํ†ต์‹  ๊ณ„์ธต + +```text +- DB, ์™ธ๋ถ€ API ๋“ฑ ์™ธ๋ถ€ ์‹œ์Šคํ…œ๊ณผ์˜ ์—ฐ๊ฒฐ์„ ๋‹ด๋‹นํ•˜๋Š” ๊ณ„์ธต +- JPA Repository, FeignClient, S3, Redis ๋“ฑ์˜ **๊ตฌํ˜„์ฒด**๊ฐ€ ์œ„์น˜ +- ๋„๋ฉ”์ธ ๊ณ„์ธต๊ณผ ์ง์ ‘ ์—ฐ๊ฒฐ๋˜์ง€ ์•Š๊ณ  gateway(์ธํ„ฐํŽ˜์ด์Šค)๋ฅผ ํ†ตํ•ด ์ ‘๊ทผ +``` + +| | presentation | infrastructure | application | util | domain | +|-------------|---|---------|------|---------|--------| +| ์˜์กด ๊ฐ€๋Šฅ ์—ฌ๋ถ€ | - | - | - | O | O | + +### presentation : ์š”์ฒญ ์ฒ˜๋ฆฌ ๊ณ„์ธต + +```text +- ํด๋ผ์ด์–ธํŠธ์˜ ์š”์ฒญ์„ ๋ฐ›์•„ ์‘๋‹ต์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ์—ญํ•  +- ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง์„ ์ง์ ‘ ์ˆ˜ํ–‰ํ•˜์ง€ ์•Š๊ณ  application ๊ณ„์ธต์„ ํ˜ธ์ถœํ•˜์—ฌ ์ฒ˜๋ฆฌ +- Controller, Request/Response DTO, ExceptionHandler ๋“ฑ์ด ์œ„์น˜ +``` + +| | presentation | infrastructure | application | util | domain | +|-------------|---|---------|-------------|---------|--------| +| ์˜์กด ๊ฐ€๋Šฅ ์—ฌ๋ถ€ | - | - | O | O | O | + +
+ +## ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป Contributors +
+ +| [@Ji-soo708](https://github.com/Ji-soo708) | [@chock-cho](https://github.com/chock-cho) | +|:----------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------:| +| | | + +