π¨ μ½λ 컨벀μ
μ λͺ©ν: λꡬλ μ½κ² μ½λλ₯Ό μ΄ν΄νκ³ μ¬μ©ν μ μκ² νκΈ° μν¨
1. λ€μ΄λ°
- ν΄λμ€ : UpperCamelCase, andΒ·orμ κ°μ μ μμ¬ μ¬μ©νμ§ μκ³ , 25μ λ΄μΈλ‘ μμ±.
- ν¨μ : lowerCamelCase
- λ³μ : lowerCamelCase
- DB ν
μ΄λΈ : lower_snake_case
- ENUM : Upper_snake_case
- 컬λ μ
(Collection) : 볡μν (Ex. users)
- LocalDateTime μ°μ !
2. ν΄λμ€λͺ
- κ° ν¨ν€μ§λͺ
μ μ λ―Έμ¬μ λͺ
μν κ²
- ꡬν체μ κ²½μ° ~ Implλ₯Ό μ λ―Έμ¬μ μΆκ° β (ex. UserServiceImpl, UserRepositoryImpl)
controller: UserApiController
service: UserService
repository: UserRepository
dto/request: UserCreateRequest
dto/response: UserCreateResponse
entity: User
config: WebConfig
exception: EntityNotFoundException
3. λ©μλλͺ