μ΄λμν΄ 1μ‘° Offline To Online μλΉμ€ λ°°λ¬μ΄μ¨ λ°±μλ μ λλ€.
- Kotlin
- JDK21
- SpringBoot 3.3.2
- MongoDB
- Redis
- λ‘컬μμ λμ»€λ‘ μλΉμ€ μ€ν μ, λ£¨νΈ ν΄λ λ΄ Dockerfile μ ν΅ν λΉλ μ΄ν docker ν΄λ λ΄μ μλ docker-compose νμΌλ‘ μ€ν
docker build -t o2o-backend:latest .
cd docker
docker-compose up -d o2o-be
-
CI/CD ꡬ쑰
- free tier λ΄ μ΅μ λΉμ©μ μν΄, 컨ν μ΄λ μ μ₯ μ νμν ECR, AWS CodeSeriesλ₯Ό ν΅ν λΉλ λ± AWS ν΅ν© μλΉμ€λ₯Ό μ¬μ©νμ§ μμμ΅λλ€.
- CI/CD μ νλ¦μ Code push -> Gitlab Actions μμ λΉλ νλ‘μΈμ€ μ΄ν S3 μ μ λ‘λ / Codedeploy νΈμΆ -> AWS Codedeploy κ° AWS EC2 μ μ λ‘λ μ΄ν λ°°ν¬ μ€ν. λ°°ν¬μ λν νμΌμ appspec.yaml νμΌμ μμ΅λλ€.
- appspec.yaml μ μ μλ ν΄λλ‘ νμΌμ μ΄λ ν, scripts ν΄λ λ΄ after-deploy.sh νμΌμ μ€ννμ¬ λ°°ν¬ν©λλ€.
- Domain (Order, Member, Store...)
- presentation
- api
- XxxController
- dto
- XxxRequest
- XxxResponse
- api
- application
- XxxFacade
- Domain
- domain object
- XxxReader, XxxStore, XxxService
- infrastructure
- client
- XxxClient
- repository
- XxxStorage (impl)
- XxxRepository (interface)
- client
- presentation
