보안 중심 주식 거래 시스템 백엔드.
tradexServer/
├── bootstrap 실행 진입점 (Spring Boot main, application.yaml, ExceptionHandler)
├── common 공통 (BaseResponse, ClockConfig)
├── auth 인증 / JWT / 세션
├── member 회원 PII (AES-GCM, HMAC)
├── registration auth + member orchestration
└── instrument 종목 마스터
bootstrap
/ | \
registration | instrument
/ \ |
auth member
\ /
common
bootstrap만 모든 도메인을 알고 있음- 도메인 모듈끼리 직접 의존 금지 (auth ↔ member 차단)
registration만 예외적으로 auth, member 의존 (orchestration)- 모든 모듈은
common의존
./run.sh
.env 파일이 프로젝트 루트에 있어야 함.
도메인별로 SQL 분산 배치.
auth/src/main/resources/db/migration/auth/
member/src/main/resources/db/migration/member/
instrument/src/main/resources/db/migration/instrument/
bootstrap/src/main/resources/application.yaml의 spring.flyway.locations에 모두 등록됨.