Skip to content

nettee-space/backend-sample-layered-simple-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Introduction.

이 μƒ˜ν”Œ ν”„λ‘œμ νŠΈλŠ” λ³΅μž‘ν•œ κ°œλ…μ„ μ΅œλŒ€ν•œ λœμ–΄λ‚΄κ³ , 기본적인 CRUD λ™μž‘μ— μ§‘μ€‘ν•˜μ—¬ μ½”λ“œ μŠ€νƒ€μΌμ— 적응할 수 μžˆλ„λ‘ μ•ˆλ‚΄ν•©λ‹ˆλ‹€.

λ‹€μŒ ν•­λͺ©μ„ ν¬ν•¨ν•©λ‹ˆλ‹€.

  • λ ˆμ΄μ–΄λ“œ μ•„ν‚€ν…μ²˜μ˜ λŒ€ν‘œμ μΈ κ΅¬ν˜„μ„ λ”°λ¦…λ‹ˆλ‹€. (Controller - Service - Repository)
  • Spring Data JPAλ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€.

Prerequisites

  • 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.

Installation & Execution

Download project:

git clone git@github.com:nettee-space/sample-layered-simple-crud.git

도컀λ₯Ό μ‹€ν–‰ν•˜κ³ , ν”„λ‘œμ νŠΈ κ²½λ‘œμ—μ„œ λ‹€μŒ λͺ…령을 μž…λ ₯ν•©λ‹ˆλ‹€.

docker compose up -d

VM μ˜΅μ…˜μ— μ•‘ν‹°λΈŒ ν”„λ‘œνŒŒμΌμ„ μž…λ ₯ν•©λ‹ˆλ‹€.

μ•‘ν‹°λΈŒ ν”„λ‘œνŒŒμΌ μž…λ ₯λž€μ΄ μžˆμ„ λ•Œ

λ‹€μŒμ„ μž…λ ₯ν•©λ‹ˆλ‹€.

local
VM Option을 직접 μž…λ ₯ν•  λ•Œ

λ‹€μŒμ„ μž…λ ₯ν•©λ‹ˆλ‹€.

-Dspring.profiles.active=local

이제 μ‹€ν–‰ν•  μ€€λΉ„κ°€ μ™„λ£Œλ˜μ—ˆμŠ΅λ‹ˆλ‹€.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages