μ΄ μν νλ‘μ νΈλ 볡μ‘ν κ°λ μ μ΅λν λμ΄λ΄κ³ , κΈ°λ³Έμ μΈ CRUD λμμ μ§μ€νμ¬ μ½λ μ€νμΌμ μ μν μ μλλ‘ μλ΄ν©λλ€.
λ€μ νλͺ©μ ν¬ν¨ν©λλ€.
- λ μ΄μ΄λ μν€ν μ²μ λνμ μΈ κ΅¬νμ λ°λ¦ λλ€. (Controller - Service - Repository)
- Spring Data JPAλ₯Ό μ¬μ©ν©λλ€.
- JDK 21
You can use OpenJDK e.g. Amazon Corretto 21 - Docker Compose
If you install docker desktop, docker compose will be installed at the same time.
Download project:
git clone git@github.com:nettee-space/sample-layered-simple-crud.gitλ컀λ₯Ό μ€ννκ³ , νλ‘μ νΈ κ²½λ‘μμ λ€μ λͺ λ Ήμ μ λ ₯ν©λλ€.
docker compose up -dVM μ΅μ μ μ‘ν°λΈ νλ‘νμΌμ μ λ ₯ν©λλ€.
μ‘ν°λΈ νλ‘νμΌ μ λ ₯λμ΄ μμ λ
λ€μμ μ λ ₯ν©λλ€.
localVM Optionμ μ§μ μ λ ₯ν λ
λ€μμ μ λ ₯ν©λλ€.
-Dspring.profiles.active=localμ΄μ μ€νν μ€λΉκ° μλ£λμμ΅λλ€.