๋ชฉ์ฐจ

  1. RESTful ์•„ํ‚คํ…์ฒ˜ ์›์น™
    • REST ์•„ํ‚คํ…์ฒ˜ ์Šคํƒ€์ผ์˜ ์ œ์•ฝ์กฐ๊ฑด
    • API ์„ค๊ณ„ best practices
  2. Spring REST ์ปจํŠธ๋กค๋Ÿฌ ์‹ฌํ™”
    • @RestController ์–ด๋…ธํ…Œ์ด์…˜์˜ ์„ธ๋ถ€ ๊ธฐ๋Šฅ
    • @RequestBody์™€ @ResponseBody ์ƒ์„ธ ์‚ฌ์šฉ
    • HTTP ๋ฉ”์„œ๋“œ์— ๋”ฐ๋ฅธ ์ ์ ˆํ•œ ์–ด๋…ธํ…Œ์ด์…˜ ์‚ฌ์šฉ (GET, POST, PUT, DELETE)
  3. ์‘๋‹ต ์ƒํƒœ ์ฝ”๋“œ์™€ ์—๋Ÿฌ ์ฒ˜๋ฆฌ
    • ResponseEntity ํ™•์žฅ์„ ํ†ตํ•œ Response ์ฒ˜๋ฆฌ ์ „๋žต
    • HTTP ์ƒํƒœ ์ฝ”๋“œ์˜ ์ ์ ˆํ•œ ์‚ฌ์šฉ
    • @ExceptionHandler์™€ @ControllerAdvice๋ฅผ ์ด์šฉํ•œ ์˜ˆ์™ธ ์ฒ˜๋ฆฌ
  4. ํŽ˜์ด์ง•๊ณผ ์ •๋ ฌ, ๊ฒ€์ƒ‰์กฐ๊ฑด ์ฒ˜๋ฆฌ
    • ํŽ˜์ด์ง• ์ฒ˜๋ฆฌ
    • ์ •๋ ฌ ์ฒ˜๋ฆฌ
    • ๋‹จ์–ด ๊ฒ€์ƒ‰
    • Specification์„ ํ†ตํ•œ ๋™์  ์ฟผ๋ฆฌ ์ž‘์„ฑ๊ณผ ์ฝ”๋“œ ์žฌ์‚ฌ์šฉ
  5. ๋ฌธ์„œํ™”์™€ ํ˜ธ์ถœ ํ…Œ์ŠคํŠธ
    • Spring REST Doc ํ˜น์€ OpenAPI๋ฅผ ์ด์šฉํ•œ ๋ฌธ์„œ ์ž‘์„ฑ
    • cURL, RestClient ํ™œ์šฉํ•œ API ํ˜ธ์ถœ ํ…Œ์ŠคํŠธ

Table of contents