factory
The missing, complete example of Domain-Driven Design enterprise application backed by Spring stack
파일 탐색기
최종 버전 다운로드 (.zip)- CommandRepository.java
- JsonConverter.java
- ProjectionRepository.java
- TechnicalId.java
- commons.yml
- application-test.properties
- build.gradle
- stub.xml
- DeliveryPlannerDefinitionEventsPropagation.java
- DemandEventsPropagation.java
- ProductDescriptionEventsPropagation.java
- ForecastORMRepository.java
- ShortageEventsPropagation.java
- StockForecastDao.java
- StockForecastEntity.java
- StockForecastResourceProcessor.java
- StockForecast.java
- StockForecastQuery.java
- WarehouseService.java
- AppConfiguration.java
- db.changelog.yml
- application-cloud.properties
- application-docker.properties
- application.properties
- CallOffDocumentIntegrationSpec.groovy
- DemandAdjustmentIntegrationSpec.groovy
- ShortageIntegrationSpec.groovy
- ProductTrait.groovy
- delivery-definitions.json
- delivery-forecasts.json
- demand-adjustments.json
- demand-forecasts.json
- product-descriptions.json
- production-outputs-daily.json
- production-outputs.json
- shortages.json
- stock-forecasts.json
- application-test.properties
- curl.txt
- build.gradle
- Dockerfile
- DeliveryPlannerDefinition.java
- DeliveryPlannerDefinitionDao.java
- DeliveryPlannerDefinitionEntity.java
- DeliveryForecastDao.java
- DeliveryForecastEntity.java
- DeliveryForecastProjection.java
- DeliveryAutoPlannerORMRepository.java
- CommandsHandler.java
- DemandAdjustmentDao.java
- DemandAdjustmentEntity.java
- RequiredReviewDao.java
- RequiredReviewEntity.java
- DemandDao.java
- DemandEntity.java
- DocumentDao.java
- DocumentEntity.java
- ProductDemandDao.java
- ProductDemandEntity.java
- CurrentDemandDao.java
- CurrentDemandEntity.java
- CurrentDemandProjection.java
- DemandForecastingConfiguration.java
- DemandValue.java
- ProductDemandORMRepository.java
- db.changelog.yml
- delivery-planning.yml
- demand-forecasting.yml
- DeliveryPlannerDefinitionSpec.groovy
- ProductDemandORMRepositorySpec.groovy
- ForecastingAdaptersConfiguration.groovy
- build.gradle
- DeliveriesSuggestion.java
- Delivery.java
- DeliveryAutoPlanner.java
- AdjustDemand.java
- Adjustment.java
- ApplyReviewDecision.java
- DailyDemand.java
- DemandEvents.java
- Demands.java
- DemandService.java
- Document.java
- ProductDemand.java
- ProductDemandRepository.java
- ReviewDecision.java
- ReviewPolicy.java
- DeliveriesSuggestionSpec.groovy
- DeliveryAutoPlannerSpec.groovy
- DailyDemandBuilder.groovy
- DemandAdjustmentSpec.groovy
- DemandServiceSpec.groovy
- DemandsFake.groovy
- DocumentProcessingSpec.groovy
- KeepingDailyDemandsSpec.groovy
- ProductDemandBuilder.groovy
- ProductDemandTrait.groovy
- ReviewPolicySpec.groovy
- ReviewProcessingSpec.groovy
- DemandAdjustements.feature
- domain-stories.txt
- ProductionPlanning.feature
- build.gradle
- gradle-wrapper.jar
- gradle-wrapper.properties
- pipeline.gradle
- ProductDescription.java
- ProductDescriptionDao.java
- ProductDescriptionEntity.java
- db.changelog.yml
- product-management.yml
- ProductDescriptionPersistenceSpec.groovy
- ProductionManagementAdaptersConfiguration.groovy
- build.gradle
- ProductionDailyOutputDao.java
- ProductionDailyOutputEntity.java
- ProductionOutputDao.java
- ProductionOutputEntity.java
- db.changelog.yml
- production-planning.yml
- build.gradle
- DailyId.java
- Demand.java
- DemandedLevelsChanged.java
- ReviewRequired.java
- RefNoId.java
- build.gradle
- ShortagesDao.java
- ShortagesEntity.java
- MonitoringConfiguration.java
- ShortagePredictionProcessORMRepository.java
- NotificationConfiguration.java
- db.changelog.yml
- shortages-prediction.yml
- E2eSpec.groovy
- BaseClass.groovy
- Config.groovy
- ShortagesDaoSpec.groovy
- ShortagePredictionProcessORMRepositorySpec.groovy
- PredictionAdaptersConfiguration.groovy
- SmokeSpec.groovy
- build.gradle
- DeliveriesForecast.java
- ProductionForecast.java
- ProductionOutputs.java
- ShortageForecast.java
- ShortageForecasts.java
- Stock.java
- NewShortage.java
- ShortageDiffPolicy.java
- ShortageEvents.java
- ShortagePredictionProcess.java
- ShortagePredictionProcessRepository.java
- ShortagePredictionService.java
- ShortageSolved.java
- NotificationOfShortage.java
- Notifications.java
- QualityTasks.java
- RecoveryTaskPriorityChangePolicy.java
- ConfigurationParams.java
- Shortage.java
- ShortageCalculationAlgorithmSpec.groovy
- ShortageCalculationExamplesSpec.groovy
- ShortagesCalculationAssembler.groovy
- ShortagesCalculationTrait.groovy
- TimeGrammar.groovy
- InMemoryConfigurationParams.groovy
- ShortageDiffPolicySpec.groovy
- ShortagePredictionProcessSpec.groovy
- ShortagePredictionProcessTrait.groovy
- ShortagePredictionServiceSpec.groovy
- NotificationOfShortageSpec.groovy
- RecoveryTaskPriorityChangePolicySpec.groovy
- build.gradle
- .codecov.yml
- .gitattributes
- .gitignore
- .travis.yml
- build.gradle
- CODE_OF_CONDUCT.md
- command-query-crud.png
- docker-compose.yml
- es-big-picture-cleaned.jpg
- es-big-picture-original.jpg
- es-design-demand-forecasting.jpg
- gradle.properties
- gradlew
- gradlew.bat
- hexagon.png
- LICENSE
- lombok.config
- manifest.yml
- MIGRATION.md
- README.md
- sc-pipelines.yml
- settings.gradle
🚀 설치 가이드
1. 코드 내려받기
git clone https://github.com/ddd-by-examples/factory
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd factory
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker compose up -d --build
정의된 모든 컨테이너(서버, DB 등)를 한 번에 빌드하고 백그라운드에서 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Gradle (Java/Kotlin)
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- JDK (Java) Java/Kotlin 프로젝트를 빌드/실행하려면 필요합니다.
- Gradle 레포에 포함된 gradlew(Gradle Wrapper)를 쓰면 Gradle을 따로 설치할 필요가 없습니다.
cd adapter-commons
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
./gradlew build
Gradle로 빌드를 진행합니다.
BUILD SUCCESSFUL 메시지가 뜨면 성공입니다. build/ 폴더에 결과물이 생성됩니다.
// repository documentation
Was this content helpful?
(0 ratings)
