-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
π [feature] νμ μΆμ νμΈ API ꡬν #121
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is this Pull Request about? π¬
νμ λ° μ΄μμ§ μ€λ¬Έμ‘°μ¬λ₯Ό ν΅ν΄,
νμλ€μ΄ μμ μ μΆμμ΄ μ λλ‘ μμ² λμλμ§ νμΈνκ³ μΆμ΄ νλ€λ μ΄μΌκΈ°κ° μμλ€.
μ΄μ, νμμ΄ μμ μ μΆμ μνλ₯Ό νμΈν μ μλ APIλ₯Ό ꡬννλ€.
1. μ΅κ·Ό 1μκ° μΆμ μ‘°ν
μ΅κ·Ό μΆμ μ‘°νλ, μμ λ³λ‘ μ‘°ν κ°λ₯ν κΈ°λ₯μ΄κ³ , "λ°©κΈ" μΆμ νλμ§ νμΈνλ€.
μ΄ APIλ μ€μ§ λ°©κΈ μμ μ΄ μλν μΆμμ μ‘°ννκΈ° μν΄ μ‘΄μ¬νλ€.
κ°μ μκ°μ 1μκ°μΌλ‘ κ°μ νκ³ , μ΅κ·Ό 1μκ° μΆμμ μ‘°ννλ APIλ€.
μ΄ μ΅κ·Ό μΆμ μ‘°ν κΈ°λ₯μ΄ λμ λλ€λ©΄, μ μ λ€μ΄ μΆμμ μλνμλ§μ νμΈν΄λ³Ό νλ₯ μ΄ λλ€.
λ°λΌμ, μΆμμ΄ λͺ°λ¦¬λ λ§νΌ μΆμ νμΈ API λν μμ²μ΄ ν μκ°μ λͺ°λ¦΄ κ°λ₯μ±μ΄ λ§€μ° λλ€.
μ΄μ μΆμ μ 보λ₯Ό 1μκ° λμ μΊμ± νλλ‘ κ΅¬ννλ€.
μ΄ν, Look Asid PatternμΌλ‘ μΊμμ λ°μ΄ν°κ° μμΌλ©΄ DBλ₯Ό μ‘°νν΄ λ°μ΄ν°λ₯Ό λ°ννλ€.
λλΆλΆμ κ²½μ° μλ¬΄λ° λ°μ΄ν°λ₯Ό λ°μλ³Ό μ μμ κ²μ΄λ€.
2. λ μ§λ‘ μΆμ μ‘°ν
μλλ κ°μ¬μκ²λ§ μ 곡λλ κΈ°λ₯μ΄λ€. κ°μ¬λ μμ μ μμ μ 체 μΆμμ μ‘°νν μ μμλ€.
μ΄μ μ μ μκ²λ νΉμ μμ μ λν μμ μ μΆμμ νμΈν μ μλ APIλ₯Ό μ 곡νλ€.