1. User ๊ฐ์ฒด ์์ฑํ๊ธฐ
@Entity, @Table : DB ํ ์ด๋ธ๊ณผ ๋งคํํ๊ธฐ ← JPA ๊ฐ ๊ด๋ฆฌํจ
@NoArgsConstructor : ๋งค๊ฐ๋ณ์๊ฐ ์๋๊ธฐ๋ณธ์์ฑ์ ์์ฑ
2. Repository ์์ฑํ๊ธฐ
3. DTO ์์ฑํ๊ธฐ
4. ๋น๋ฐ๋ฒํธ ์ํธํ๋ฅผ ์ํ Config ์์ฑ
- build.gradle
- application.properties
- Config ํ์ผ
5. Service ์์ฑํ๊ธฐ
6. Controller ์์ฑํ๊ธฐ
7. Status Code ์ค์
8. Response Messgae ์ค์
9. Defalut Response ์ค์
10. Postman ํ ์คํธ
'์น ๊ฐ๋ฐ > SpringBoot' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Swagger ์ค์ ํ๊ธฐ (0) | 2023.05.23 |
---|---|
SpringBoot ResponseEntity ์์ฑ ๋ฐ ํ์ฉ ๋ฐฉ๋ฒ (0) | 2023.05.23 |
SpringBoot MySQL ์ฐ๋ํ๊ธฐ (0) | 2023.05.23 |
SpringBoot ๊ฐ๋ฐ ํ๊ฒฝ ๊ตฌ์ถํ๊ธฐ (0) | 2023.05.23 |