Woori CodeShareλ μ½λ 곡μ νλ«νΌμΌλ‘, Docker Composeλ₯Ό μ¬μ©νμ¬ Next.js ν΄λΌμ΄μΈνΈ, Spring Boot μλ², MySQL λ°μ΄ν°λ² μ΄μ€λ₯Ό ν΅ν© λ°°ν¬ν μ μμ΅λλ€.
- Docker (Docker Desktop κΆμ₯)
- Git
- μΈν°λ· μ°κ²° (GitHub μ μ₯μ ν΄λ‘ μ©)
git clone https://github.com/woori-codeshare/deploy.git
cd deploychmod +x deploy.sh./deploy.sh start.
βββ deploy.sh # λ©μΈ λ°°ν¬ μ€ν¬λ¦½νΈ
βββ scripts/ # λͺ¨λνλ μ€ν¬λ¦½νΈλ€
β βββ common.sh # κ³΅ν΅ μ νΈλ¦¬ν° ν¨μ
β βββ repositories.sh # GitHub μ μ₯μ κ΄λ¦¬
β βββ docker.sh # Docker κ΄λ ¨ κΈ°λ₯
β βββ dependencies.sh # μμ‘΄μ± κ΄λ¦¬
β βββ setup.sh # νκ²½ μ€μ νμΌ μμ±
βββ docker-compose.yml # Docker Compose μ€μ (μλμμ±)
βββ db/ # λ°μ΄ν°λ² μ΄μ€ μ΄κΈ°ν μ€ν¬λ¦½νΈ (μλμμ±)
βββ client/ # Next.js ν΄λΌμ΄μΈνΈ (μλ ν΄λ‘ )
βββ server/ # Spring Boot μλ² (μλ ν΄λ‘ )
λ°°ν¬ μλ£ ν λ€μ μ£Όμλ‘ μ μν μ μμ΅λλ€:
| μλΉμ€ | URL | μ€λͺ |
|---|---|---|
| λ©μΈ μ ν리μΌμ΄μ | http://localhost:3000 | Next.js ν΄λΌμ΄μΈνΈ |
| API μλ² | http://localhost:8080 | Spring Boot REST API |
| API λ¬Έμ | http://localhost:8080/swagger-ui/index.html | Swagger UI |
| ν¬μ€μ²΄ν¬ | http://localhost:8080/actuator/health | μλ² μν νμΈ |
