Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
빠르게 훑어보는 리디페이 백엔드 개발기
Search
RIDI
June 13, 2019
Programming
5.3k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
빠르게 훑어보는 리디페이 백엔드 개발기
RIDI
June 13, 2019
More Decks by RIDI
See All by RIDI
원격 근무 팀 운영 경험 공유
ridi
0
2.3k
SVG Icon Design Guide
ridi
2
4.3k
Next.js는 정말 zero config였다.
ridi
0
2.2k
3일 걸릴 것 같던 구매목록 다운로드는 왜 3주가 걸렸을까?
ridi
0
510
원격으로 한 달 일해보니
ridi
0
1.6k
리디북스 앱에 S Pen Remote 연동하기
ridi
2
2.9k
UI 라이브러리 개발기
ridi
1
2.8k
테스트 환경 개선하기
ridi
8
3.7k
추천 API 최적화하기
ridi
4
2.3k
Other Decks in Programming
See All in Programming
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
130
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
54
36k
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
340
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
220
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
0
230
デプロイ直後のレイテンシスパイクを調べたら、 Railsの仕様にたどり着いた
nhsykym
0
110
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
580
初めての模倣学習とVLA
natsutan
0
480
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
670
30年振りにコンパイラの定数整数除算を改善した
herumi
9
4.4k
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
510
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Practical Orchestrator
shlominoach
191
12k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
370
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Designing for humans not robots
tammielis
254
26k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
The Curse of the Amulet
leimatthew05
2
14k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Transcript
ࡅܰѱ വযࠁח ܻ٣ಕ ߔূ٘ ѐߊӝ झషয Ѿઁ ъӏ
Infrastructure as Code Terraform workspace Prod $ terraform workspace select
prod $ terraform apply -> slave DB ࢤࢿ - ٘ ߸҃ झషܻܳ ా೧ࢲ ਗ ߸҃ झషܻ ୶ ਊ - Web UIܳ ా೧ࢲ ۽࠺ઉ ೞח Ѫࠁ ഻ঁ ҙ - PQ పझ ӝр زউ݅ ਗਸ ೠदਵ۽ ೞח ࢚ടੋ ҃, ਗਸ ೠߣী setup/ destroy ೞח Ѫب рಞ - RIDI Payীࢲח Terraformܳ ਊ೮णפ. resource "aws_db_instance" "slave" { count = “${terraform.workspace === ‘prod’ ? 1 : 0}” … } - زੌೠ terraform ٘۽ terraform stateܳ workspace ߹۽ աׇࢲ ҙܻೡ ࣻ ח ӝמ Dev $ terraform workspace select dev $ terraform apply -> slave DB ࢤࢿ X
Test Code Coverageо ח Ѫ - ਟ݅ೠ ੜޅػ ٘ ߸҃
ࢎ೦ٜ ৈӝࢲ ࠗ࠙ Ѧ۞ - ࠺ૉפझ ۽ী ೠ ࣁࠗੋ test ࡺ݅ ইפۄ, ஶ܀۞ ۨ߰ request/responseө ࢚ട ߹۽ ప झ - ۧѱ غפ testܳ Ӓր ח. -> न ח ٘ ࣻ -> ݃ ಣച - ࠛਃೞѱ ߈ࠂغח ۽ஸ పझܳ ੌ ࣻ . - ழߡܻח 100%ࠗఠ दۄח ݈ب ݅, ੌױ 100%ө Ҋ र زӝࠗৈо ؾפ. 2019. 4. 11 ӝળ ೧ࠁҊ र Ѫ TDD https://en.wikipedia.org/wiki/Test-driven_development
٘৬ API ޙࢲо ܻ࠙ غযਸ ٸ ࢤӝח ੌ ٘ܳ ࣻೞҊ
աࢲ ޙࢲ ࣻਸ өݡח. ٍןѱ ղо ޙࢲܳ ࣻೞݶ, ܲ ࢎۈ ٘ܳ ࣻೞҊ ޙࢲܳ ࣻਸ өݡח. … … … ঈࣽജ ٘৬ ޙࢲо э јन ⪟ਵݶ જѷ. Ӓۧݶ, ٘৬ ޙࢲ ޛܻੋ Ѣܻܳ ࠢৈࢲ ޙࢲܳ ࠁѱ ೞݶ যڄө? phpdoc https://github.com/zircote/swagger-php
phpdocਸ ਊೠ API ޙࢲ زച https://s3.ap-northeast-2.amazonaws.com/ridi-pay-backend-api-doc/api.html ٘৬ ޙࢲо ࠢযযࢲ, ٘
߸҃ী ٮۄࢲ ޙࢲо ࠛੌ غח ࠼بо ബҗਵ۽ য٘ח Ѫਸ ו՝ Build(CI Pipeline)
Open Source Ѿઁ दझమ ࣗझ ٘о ҕѐغח Ѫ ۹ੋ ੌחؘ,
RIDI Pay ҃ܳ ࢤп೧ࠁݶ ҕѐ ޅ ೡ ਬо হ. ࠁউ ݶীࢲب хҊ ա Ѫب হ. য়۰ ؊ ݆.
https://github.com/ridi/style-guide/blob/master/OSS.md
ࠁউ ஂড ઁࠁ
ࠁউ ஂড ઁࠁ റ ࢤпٜ - ੌױ hot fix -
ࢎࣗೠ ӏध पࣻ۽ ߊࢤ೮݅, Ӓزউ Unit Testо ցޖ positive caseী ೧ࢲ݅ ࢿغࢲ ֬ଢ଼؍ Ѫ ইקө - ܻ٣ಕ ߔূ٘ ࢲߡীࢲ KCP Ѿઁ ݽٕী Ӕೡ ࣻ ח ܖܳ ୭ࣗച ೞ. - KCP HTTP Proxy - ઁۄب ࠁউ ܻझܳ ೠߣ ഛੋ೧ࠁݶ જѷ • https://www.owasp.org/index.php/OWASP_Secure_Coding_Practices_Checklist • https://www.owasp.org/images/3/33/OWASP_Application_Security_Verification_Standard_3.0.1.pdf
None
Ҋणפ!