Skip to content

Introduce the overall catchdeal, introduce the server environment, and share our vision for the future.

Notifications You must be signed in to change notification settings

catchdeal/Intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 

Repository files navigation

์บ์น˜์•ผ, ๋ฌผ์–ด์™€! : ํŠน๊ฐ€์ •๋ณด ๋ชจ์Œ์ง‘ '์บ์น˜๋”œ'

Related

Story of CatchDeal

  1. (Intro) ์‹ผ ๊ฒƒ๋งŒ ๋ฌผ์–ด๋“œ๋ ค์š” : ์บ์น˜๋”œ ์„œ๋น„์Šค!
  2. ์บ์น˜๋”œ ๋ฐฑ์—”๋“œ ๊ฐœ๋ฐœ์ด์•ผ๊ธฐ : ์ขŒ์ถฉ์šฐ๋Œ ์„œ๋ฒ„์šด์˜ ์ด์•ผ๊ธฐ
  3. ์บ์น˜๋”œ ๋ฐฑ์—”๋“œ ๊ฐœ๋ฐœ์ด์•ผ๊ธฐ : ๋ฌธ์„œํ™”
  4. ์บ์น˜๋”œ ๋ฐฑ์—”๋“œ ๊ฐœ๋ฐœ์ด์•ผ๊ธฐ : ๋””์ž์ด๋„ˆ์™€์˜ ํ˜‘์—…
  5. ์บ์น˜๋”œ ๋ฐฑ์—”๋“œ ๊ฐœ๋ฐœ์ด์•ผ๊ธฐ : ํฌ๋กค๋ง
  6. ์บ์น˜๋”œ ๋ฐฑ์—”๋“œ ๊ฐœ๋ฐœ์ด์•ผ๊ธฐ : Restful API ์„ค๊ณ„์˜ ๋‹ค์–‘ํ•œ ๊ณ ๋ฏผ
  7. ์บ์น˜๋”œ ๋ฐฑ์—”๋“œ ๊ฐœ๋ฐœ์ด์•ผ๊ธฐ : ๋‚˜์—๊ฒŒ ๋งž๋Š” ํ•ฉ๋ฆฌ์ ์ธ ์„œ๋ฒ„ ๋น„์šฉ์„ ์ฐพ์•„์„œ..

Intro

  1. ์ปค๋ฎค๋‹ˆํ‹ฐ์—๋Š” ๋งค์ผ ๊ฐ–๊ฐ€์ง€ ํ• ์ธํ–‰์‚ฌ์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์‚ฌ๋žŒ๋“ค์ด ์˜ฌ๋ฆฌ๋ฉด์„œ ๊ณต์œ ํ•œ๋‹ค.
  2. ์ปค๋ฎค๋‹ˆํ‹ฐ ํ•œ ๊ณณ์ด ์•„๋‹Œ ์—ฌ๋Ÿฌ๊ณณ์— ์ •๋ณด๊ฐ€ ํผ์ ธ์žˆ๋‹ค.
  3. ๋˜‘๊ฐ™์€ ์ •๋ณด์— ๋Œ€ํ•ด A, C ์ปค๋ฎค๋‹ˆํ‹ฐ์—๋Š” ์ •๋ณด๊ฐ€ ์žˆ์ง€๋งŒ, ์ •์ž‘ B ์ปค๋ฎค๋‹ˆํ‹ฐ์—๋Š” ์—†๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค.
  4. ํ•ด๋‹น ํ”„๋กœ์ ํŠธ์˜ ์—ญํ• ์€ ๊ฐ ์ปค๋ฎค๋‹ˆํ‹ฐ์—์„œ ํŠน๊ฐ€ ์ •๋ณด๋ฅผ ํฌ๋กค๋ง ํ›„, ์•ฑ(apk)๊ณผ์˜ ํ†ต์‹ ์„ ์œ„ํ•ด JSON ํ˜•์‹์œผ๋กœ ์›นํŽ˜์ด์ง€์— ๊ฒฐ๊ณผ๋ฌผ์„ ๋„์šฐ๋Š” ๊ฒƒ์„ ๋‹ด๋‹นํ•œ๋‹ค.
  5. ํฌ๋กค๋ง์— ๋Œ€ํ•ด์„  ๋งค ์‹œ๊ฐ„ ๋‹จ์œ„๋กœ CronJob์„ ํ™œ์šฉํ•˜์—ฌ Background Job์„ ํ†ตํ•ด ํฌ๋กค๋ง์ด ์ง„ํ–‰๋œ๋‹ค.

CatchDeal Tech Stack

1) Backend

  1. ๋Œ€์šฉ๋Ÿ‰ ํŠธ๋ž˜ํ”ฝ์„ ๊ณ ๋ คํ•˜์—ฌ ์„œ๋ฒ„๊ฐ€ ๊ตฌ์ถ•/์„ค๊ณ„๊ฐ€ ๋˜์–ด์•ผํ•œ๋‹ค.
    • Redis-server
    • Nginx
    • Table Join, View, Index, ...
  2. ์™ธ๋ถ€์˜ ๋ณด์•ˆ ์ทจ์•ฝ์ ์„ ์ฐพ์•„๋‚ด๋ ค๋Š” ์‹œ๋„๋กœ ๋ถ€ํ„ฐ ๋Œ€์‘์ฑ…์„ ๊ฐ–์ถฐ์•ผ ํ•œ๋‹ค.
    • SQL Injection
    • URL ์ž…๋ ฅ์„ ํ†ตํ•œ ํŠน์ • ํŽ˜์ด์ง€(์–ด๋“œ๋ฏผํŽ˜์ด์ง€ ๋“ฑ) ์ ‘๊ทผ ์‹œ๋„
    • [Solution] Nginx, https, ... ?
  3. ํŽธ๋ฆฌํ•œ ๋ฐฐํฌ(CD)
    • Capistrano
    • Docker (Further more... K8S)

Etc

  1. ํ˜‘์—… ๋ฌธ์„œํ™”
    • ๋ฐฑ์—”๋“œโ†”ํ”„๋ก ํŠธ์— ์žˆ์–ด ๊ฐœ๋ฐœ ์š”๊ตฌ์‚ฌํ•ญ/๋ฒ„๊ทธ๋ฅผ ๋ฐœ๊ฒฌ ์‹œ, ๊ฐœ๋ฐœํ•˜๋ฉด์„œ ์œ ์˜์‚ฌํ•ญ์ด ์žˆ์„ ์‹œ ์„œ๋กœ์—๊ฒŒ ์•Œ๋ ค์ค˜์•ผ ํ•  ํ•„์š”๊ฐ€ ์žˆ๋‹ค.
      • ์นด์นด์˜คํ†ก : ์ฆ‰๊ฐ์ ์œผ๋กœ ์ด์Šˆ๋ฅผ ๋‚จ๊ธธ ์ˆœ ์žˆ์œผ๋‚˜, ๋‹ค๋ฅธ ๋ฉ”์„ธ์ง€์— ๋ฌปํž ์ˆ˜ ์žˆ๋‹ค๋Š” ๋‹จ์ ์ด ์กด์žฌ
      • ๋…ธ์…˜ : ์ฃผ๋กœ ๋ฐฑ์—”๋“œ ๊ฐœ๋ฐœ ์‹œ Crontab(๋ฐฑ์—… ์ฃผ๊ธฐTime, ํฌ๋กค๋ง ์ฃผ๊ธฐ ๋“ฑ) ๋“ฑ์„ Notion์— ๊ธฐ๋ก.
      • Github ์ด์Šˆ : ๊ฐœ๋ฐœ ์š”๊ตฌ์‚ฌํ•ญ/๋ฒ„๊ทธ๋ฅผ ๋ฐœ๊ฒฌ ์‹œ ์ฆ‰๊ฐ ๋‚จ๊ฒจ๊ฐ€๋ฉฐ ์ตœ๋Œ€ํ•œ ๊นŒ๋จน์ง€ ์•Š๋„๋ก ํ›„์— To do List๋กœ์„œ์˜ ์—ญํ• ์„ ํ•œ๋‹ค.
      • POSTMAN : Restful API ๋ช…์„ธ์„œ๋กœ์„œ ํ™œ์šฉํ•œ๋‹ค.
        • ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœ์ž๋Š” ๋ฐฑ์—”๋“œ์˜ ์„ค๊ณ„์— ๋งž์ถ”์–ด Restful API ๊ทœ์น™์— ๋งž๊ฒŒ ๊ฐœ๋ฐœ์„ ์ง„ํ–‰ํ•ด์•ผ ํ•œ๋‹ค.
          • Method
          • json ์–‘์‹
          • Params
        • POSTMAN ๋Œ€์‹  Swagger๋กœ ๋Œ€์ฒด ๊ฐ€๋Šฅ
      • ์ œํ”Œ๋ฆฐ
        • ๋ฒ„์ „์—… ์ „ ํ”„๋กœํ† ํƒ€์ž… ์‹œ์•ˆ, ์›๋ณธ ์ด๋ฏธ์ง€ ์ €์žฅ

Process

  1. ์•ฑ โ†” ์›น ๊ธฐ๋ณธ ํ†ต์‹ 



  1. ์ƒˆ๋กœ์šด JWT ํ† ํฐ ์ƒ์„ฑ



  1. JWT ํ† ํฐ ๊ฒ€์ฆ ๋ฐ ์ž‘์—…

About

Introduce the overall catchdeal, introduce the server environment, and share our vision for the future.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published