Skip to content

Latest commit

ย 

History

History
11 lines (9 loc) ยท 480 Bytes

README.md

File metadata and controls

11 lines (9 loc) ยท 480 Bytes

์„ธ๊ฐ Backend API

๋กœ์ปฌ ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ธํŒ…

  1. .local.env ํŒŒ์ผ ๋ฃจํŠธ ๋””๋ ‰ํ† ๋ฆฌ์— ์ถ”๊ฐ€
  2. .local.env ํŒŒ์ผ์— DATABASE_URL="postgresql://segam:segam@db:5432/segam"
  3. init.sql ํŒŒ์ผ ๋ฃจํŠธ ๋””๋ ‰ํ† ๋ฆฌ์— ์ถ”๊ฐ€
  4. ์„œ๋ฒ„ ์‹œ์ž‘: docker compose up -d
  5. ๋ฌธ์„œ ์ ‘์†: http://localhost:3000/delicious-segam-docs
  6. /v1/godok/books-update ๊ณ ์ „๋…์„œ ๋„์„œ ๋ชฉ๋ก ์—…๋ฐ์ดํŠธ API ์ตœ์ดˆ 1ํšŒ ์‹คํ–‰
  7. ์„œ๋ฒ„ ์ข…๋ฃŒ: docker compose down --rmi local