Skip to content

๐Ÿฅœ ์•Œ์ฐจ๊ณ  ๊ณ ์†Œํ•œ ์ง€์‹ ๊ณต์œ  ์‹œ๊ฐ„, ๋ถ๋„›์ธ 

Notifications You must be signed in to change notification settings

jaejlf/BookNuts_BE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๋…์„œ ๊ธฐ๋ฐ˜ SNS, BookNuts

์•„์ดํ…œํฌ์Šคํ„ฐ_9ํ•ด์กฐ

๐Ÿฅœ ํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ

๊ธฐ์กด์˜ ๊ฐœ๋ฐฉํ˜• SNS์—์„œ ํ™•์ฆํŽธํ–ฅ/ํ˜์˜ค/๊ฐ€์งœ๋‰ด์Šค ๋“ฑ์œผ๋กœ ์ธํ•ด ์‚ฌ๋žŒ๋“ค์˜ ๋ฐœ์–ธ์ด ์œ„์ถ•๋˜๊ณ  ์žˆ๋‹ค๋Š” ๋ฌธ์ œ๋ฅผ ๋ฐœ๊ฒฌํ•˜์˜€์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ SNS ์ƒํƒœ๊ณ„์˜ ์–ด๋‘์šด ๋ฉด์„ ํ•ด๊ฒฐํ•˜๊ณ ์ž โ€˜์ฑ…โ€™์ด๋ผ๋Š” ๋งค๊ฐœ๋ฅผ ๊บผ๋‚ด๋“ค๊ฒŒ ๋˜์—ˆ๊ณ , ์ด๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ฐœ์ธ์˜ ๊ณ ์œ ํ•œ ๊ฐ€์น˜๋ฅผ ์ถ”๊ตฌํ•˜๋Š” SNS ์ƒํƒœ๊ณ„๋ฅผ ๊ตฌ์ถ•ํ•˜๊ณ ์ž ํ•˜์˜€์Šต๋‹ˆ๋‹ค.


ํ•ต์‹ฌ ๊ธฐ๋Šฅ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  1. ๋ˆ„๊ตฌ๋‚˜ ์ž์œ ๋กญ๊ฒŒ ์˜๊ฒฌ์„ ๊ฐœ์ง„ํ•  ์ˆ˜ ์žˆ๋Š” ํ† ๋ก ์žฅ
  2. ์ž์‹ ์˜ ์ง€์  ๊ฒฝํ—˜์„ ์—ฐ์žฌํ•˜๋Š” ์‹œ๋ฆฌ์ฆˆ ๋ฐœํ–‰
  3. ๊ธฐ๋ณธ์ ์ธ ์ปค๋ฎค๋‹ˆํ‹ฐ ๊ธฐ๋Šฅ (๊ฒŒ์‹œ๊ธ€/๋Œ“๊ธ€/๊ณต๊ฐ ๋“ฑ)



๐Ÿ›  ๊ธฐ์ˆ  ์Šคํƒ

  • Spring Boot(Java) ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ API ๋ฅผ ๊ฐœ๋ฐœํ•˜์˜€๊ณ , JPA ๊ธฐ์ˆ ์„ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋กœ๋Š” AWS RDS(MySQL), Redis ๋ฅผ ์‚ฌ์šฉํ•˜์˜€๊ณ , AWS EC2 ๋ฅผ ํ†ตํ•ด ์„œ๋ฒ„ ๋ฐฐํฌ๋ฅผ ์ง„ํ–‰ํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ๋ฅผ ์œ„ํ•ด AWS S3 ๋ฒ„ํ‚ท์„ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • ํ˜‘์—… ๋ฐ ์ฝ”๋“œ ๋ฒ„์ „ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•ด Github, API ๋ฌธ์„œ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•ด Postman๊ณผ Notion์„ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • Github Actions, CodeDeploy ๋ฅผ ์‚ฌ์šฉํ•ด CI/CD ํŒŒ์ดํ”„๋ผ์ธ์„ ๊ตฌ์ถ•ํ•˜์˜€์Šต๋‹ˆ๋‹ค.



๐Ÿ‘ฉโ€๐Ÿ’ป ๊ฐœ๋ฐœ ๋‚ด์šฉ

  • ์ปค๋ฎค๋‹ˆํ‹ฐ ๊ธฐ๋Šฅ (๊ฒŒ์‹œ๊ธ€, ๋Œ“๊ธ€/๋Œ€๋Œ“๊ธ€, ๊ณต๊ฐ ๋“ฑ)
  • ํ† ๋ก  ๊ด€๋ จ ๊ธฐ๋Šฅ ๊ฐœ๋ฐœ (ํ† ๋ก ์žฅ ๊ฐœ์„ค, ์ฐธ์—ฌ, ์ƒํƒœ ๋ณ€๊ฒฝ)
  • ์‹œ๋ฆฌ์ฆˆ - ๊ฒŒ์‹œ๊ธ€ ๊ทธ๋ฃนํ•‘์„ ํ†ตํ•œ ์‹œ๋ฆฌ์ฆˆ ๋ฐœํ–‰/์ถ”๊ฐ€/์‚ญ์ œ
  • ์•„์นด์ด๋ธŒ - ๊ฒŒ์‹œ๊ธ€ ์•„์นด์ด๋น™/์ถ”๊ฐ€/์‚ญ์ œ
  • ํŒ”๋กœ์šฐ & ํŒ”๋กœ์ž‰
  • Logback์„ ํ†ตํ•œ ๋กœ๊ทธ ๊ธฐ๋ก
  • Redis ์บ์‹œ ์ ์šฉ์„ ํ†ตํ•œ ์กฐํšŒ ์„ฑ๋Šฅ ๊ฐœ์„ 



๐Ÿ“‘ ๋ฌธ์„œ



๐Ÿงฉ ์„œ๋น„์Šค ์•„ํ‚คํ…์ฒ˜

image

CI/CD Pipeline

  1. ๊ฐœ๋ฐœ ์™„๋ฃŒ ํ›„ main ๋ธŒ๋žœ์น˜์— Push (or Pull Request ์ „์†ก)
  2. Github Actions ๋™์ž‘
  3. main ๋ธŒ๋žœ์น˜ Build
  4. jar ํŒŒ์ผ AWS S3์— ์—…๋กœ๋“œ
  5. Code Deploy ์‹คํ–‰
  6. AWS EC2์˜ Code Deploy๊ฐ€ AWS S3์— ์—…๋กœ๋“œ๋œ ํŒŒ์ผ์„ ๊ฐ€์ ธ์™€ ๋ฐฐํฌ
  7. ์ž๋™ํ™” ๋ฐฐํฌ (deploy.sh ์„ ํ†ตํ•ด jar ํŒŒ์ผ ์‹คํ–‰)



๐Ÿ’พ ERD Diagram

image



๐Ÿท Release Version

  • release/v1 - ๋ฒ ํƒ€ ๋ฒ„์ „ ๋ฐฐํฌ๋ฅผ ์œ„ํ•œ ์ฃผ์š” ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • release/v2 - ๋ฆฌํŒฉํ† ๋ง ๋ฐ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ



๐Ÿ” ํ™”๋ฉด ๊ตฌ์„ฑ

image image

About

๐Ÿฅœ ์•Œ์ฐจ๊ณ  ๊ณ ์†Œํ•œ ์ง€์‹ ๊ณต์œ  ์‹œ๊ฐ„, ๋ถ๋„›์ธ 

Topics

Resources

Stars

Watchers

Forks