Skip to content

CMC11th-Melly/Melly_Server

Repository files navigation

CMC MakeUS 11TH ๋–ก์žŽ๋งˆ์„๋ฐฉ๋ฒ”๋Œ€ Project
๋ฉœ๋ฆฌ MELLY - ์žฅ์†Œ ๊ธฐ๋ฐ˜ ์ถ”์–ต ๊ธฐ๋ก์žฅ ๋‹ค์šด๋กœ๋“œ (ํ˜„์žฌ ์„œ๋ฒ„ ๋ฆฌํŒฉํ† ๋ง ์ค‘์ž…๋‹ˆ๋‹ค)





๐Ÿ—๏ธ ์„œ๋น„์Šค ๊ตฌ์กฐ๋„

แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2023-12-27 แ„‹แ…ฉแ„’แ…ฎ 7 06 21

๐Ÿ“š ๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ ์•„ํ‚คํ…์ฒ˜

ํ”„๋กœ์ ํŠธ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ๊ฐ๊ฐ์˜ ๊ธฐ๋Šฅ๋“ค์„ ๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ ๊ธฐ๋ฐ˜์œผ๋กœ ๋ถ„๋ฆฌํ•จ์œผ๋กœ์จ ๊ฐ™์€ ๊ธฐ๋Šฅ์— ํฌํ•จ๋˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์˜์กด์„ฑ๊ฐ„์˜ ์‘์ง‘์„ฑ์„ ๋†’์ด๊ณ  ๋ชจ๋“ˆ๋ณ„๋กœ ๋…๋ฆฝ์ ์ธ ํ™•์žฅ์„ ํ•ด๋‚˜๊ฐˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

โ”œโ”€โ”€ client:client-auth            # OAuth ๋ฆฌ์†Œ์Šค ์„œ๋ฒ„์™€ ํ†ต์‹ ํ•˜๋Š” Client ๋ชจ๋“ˆ (ํ˜„์žฌ OpenFeign ์˜์กด์„ฑ ์‚ฌ์šฉ)
โ”œโ”€โ”€ core:core-api                 # ๋ชจ๋ฐ”์ผ ํด๋ผ์ด์–ธํŠธ์™€ ํ†ต์‹ ํ•˜๋Š” API ๋ชจ๋“ˆ    
โ”œโ”€โ”€ storage:db-core               # MySQL ๊ธฐ๋ฐ˜์˜ ์ €์žฅ์†Œ ๋ชจ๋“ˆ
โ”œโ”€โ”€ storage:db-redis              # Redis ๊ธฐ๋ฐ˜์˜ ์ธ๋ฉ”๋ชจ๋ฆฌ ์ €์žฅ์†Œ ๋ชจ๋“ˆ
โ”œโ”€โ”€ infra:file                    # ํŒŒ์ผ ์ €์žฅ์†Œ ๋ชจ๋“ˆ (ํ˜„์žฌ S3 ์˜์กด์„ฑ ์‚ฌ์šฉ)     
โ”œโ”€โ”€ infra:mail                    # ๋ฉ”์ผ ์„œ๋น„์Šค ๋ชจ๋“ˆ (ํ˜„์žฌ Java Mail ์˜์กด์„ฑ ์‚ฌ์šฉ)
โ”œโ”€โ”€ infra:notification            # ์•Œ๋ฆผ ์„œ๋น„์Šค ๋ชจ๋“ˆ (ํ˜„์žฌ FCM ์˜์กด์„ฑ ์‚ฌ์šฉ) 
โ””โ”€โ”€ support:logging               # ๋กœ๊น… ๋ชจ๋“ˆ          

๐Ÿ›๏ธ Database Schema

Untitled

โš™๏ธ ์ฃผ์š” ๊ธฐ๋Šฅ

๐Ÿ“‹ Technical Issue

  • Cursor ๊ธฐ๋ฐ˜ ํŽ˜์ด์ง•์„ ํ†ตํ•œ ์กฐํšŒ ์„ฑ๋Šฅ ์ตœ์ ํ™”
  • Spring Cache ์ ์šฉ์œผ๋กœ ์ฝ๊ธฐ ์ž‘์—… ์„ฑ๋Šฅ ํ–ฅ์ƒ
  • Token ์ €์žฅ์šฉ Redis์™€ ์บ์‹ฑ์šฉ Redis ๋ถ„๋ฆฌ๋ฅผ ํ†ตํ•œ ๊ฐ€์šฉ์„ฑ ํ™•๋ณด
  • Redis ๋ถ„์‚ฐ ์บ์‹œ์— Circuit Breaker ์ ์šฉ์„ ํ†ตํ•ด Redis ์„œ๋ฒ„ ๋‹ค์šด ์‹œ DB ์ง์ ‘ ์กฐํšŒ๋ฅผ ํ†ตํ•œ ๊ฐ€์šฉ์„ฑ ํ™•๋ณด
  • Redis LRU Eviction ์ •์ฑ…๊ณผ ์„œ๋ฒ„ ์ธ์Šคํ„ด์Šค ์ŠคํŽ™์— ์ ํ•ฉํ•œ max-memory ์˜ต์…˜์„ ์ ์šฉํ•˜์—ฌ ํšจ์œจ์ ์ธ ์บ์‹œ ์„ค์ •
  • JPA ๋‚™๊ด€์ ๋ฝ, ๋น„๊ด€์ ๋ฝ์„ ์‚ฌ์šฉํ•œ ๋™์‹œ์„ฑ ์ œ์–ด
  • AOP๋ฅผ ์ ์šฉํ•˜์—ฌ ๋ถ€๊ฐ€ ๋กœ์ง ์ œ๊ฑฐ
  • ๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ ๊ตฌ์„ฑ๋ฅผ ํ†ตํ•œ ์˜์กด์„ฑ ๊ฒฉ๋ฆฌ
  • ๊ฐ์ฒด์ง€ํ–ฅ์›์น™ SOLID๋ฅผ ๊ณ ๋ คํ•œ ์ฝ”๋“œ ์„ค๊ณ„
  • Test Fixture๋ฅผ ์‚ฌ์šฉํ•œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ๊ฐ€๋…์„ฑ ํ–ฅ์ƒ

About

๐Ÿ“ท CMC 11th Melly Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages