├── .gitignore ├── README.md ├── docker └── docker-compose.yml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── http ├── menu-groups.http ├── menus.http ├── order-tables.http ├── orders.http └── products.http ├── rest-client.env.json ├── settings.gradle.kts └── src ├── main ├── java │ └── kitchenpos │ │ ├── Application.java │ │ ├── deliveryorders │ │ └── infra │ │ │ ├── DefaultKitchenridersClient.java │ │ │ └── KitchenridersClient.java │ │ ├── eatinorders │ │ ├── application │ │ │ ├── OrderService.java │ │ │ └── OrderTableService.java │ │ ├── domain │ │ │ ├── JpaOrderRepository.java │ │ │ ├── JpaOrderTableRepository.java │ │ │ ├── Order.java │ │ │ ├── OrderLineItem.java │ │ │ ├── OrderRepository.java │ │ │ ├── OrderStatus.java │ │ │ ├── OrderTable.java │ │ │ ├── OrderTableRepository.java │ │ │ └── OrderType.java │ │ └── ui │ │ │ ├── OrderRestController.java │ │ │ └── OrderTableRestController.java │ │ ├── menus │ │ ├── application │ │ │ ├── MenuGroupService.java │ │ │ └── MenuService.java │ │ ├── domain │ │ │ ├── JpaMenuGroupRepository.java │ │ │ ├── JpaMenuRepository.java │ │ │ ├── Menu.java │ │ │ ├── MenuGroup.java │ │ │ ├── MenuGroupRepository.java │ │ │ ├── MenuProduct.java │ │ │ └── MenuRepository.java │ │ └── ui │ │ │ ├── MenuGroupRestController.java │ │ │ └── MenuRestController.java │ │ ├── products │ │ ├── application │ │ │ └── ProductService.java │ │ ├── domain │ │ │ ├── JpaProductRepository.java │ │ │ ├── Product.java │ │ │ └── ProductRepository.java │ │ ├── infra │ │ │ ├── DefaultPurgomalumClient.java │ │ │ └── PurgomalumClient.java │ │ └── ui │ │ │ └── ProductRestController.java │ │ └── takeoutorders │ │ └── empty.txt └── resources │ ├── application.properties │ ├── db │ └── migration │ │ ├── V1__Initialize_project_tables.sql │ │ └── V2__Insert_default_data.sql │ ├── static │ └── empty.txt │ └── templates │ └── empty.txt └── test ├── java └── kitchenpos │ ├── ApplicationTest.java │ ├── Fixtures.java │ ├── eatinorders │ └── application │ │ ├── FakeKitchenridersClient.java │ │ ├── InMemoryOrderRepository.java │ │ ├── InMemoryOrderTableRepository.java │ │ ├── OrderServiceTest.java │ │ └── OrderTableServiceTest.java │ ├── menus │ └── application │ │ ├── InMemoryMenuGroupRepository.java │ │ ├── InMemoryMenuRepository.java │ │ ├── MenuGroupServiceTest.java │ │ └── MenuServiceTest.java │ └── products │ └── application │ ├── FakePurgomalumClient.java │ ├── InMemoryProductRepository.java │ └── ProductServiceTest.java └── resources └── application.properties /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/README.md -------------------------------------------------------------------------------- /docker/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/docker/docker-compose.yml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/gradlew.bat -------------------------------------------------------------------------------- /http/menu-groups.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/http/menu-groups.http -------------------------------------------------------------------------------- /http/menus.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/http/menus.http -------------------------------------------------------------------------------- /http/order-tables.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/http/order-tables.http -------------------------------------------------------------------------------- /http/orders.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/http/orders.http -------------------------------------------------------------------------------- /http/products.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/http/products.http -------------------------------------------------------------------------------- /rest-client.env.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/rest-client.env.json -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | rootProject.name = "ddd-kitchenpos" 2 | -------------------------------------------------------------------------------- /src/main/java/kitchenpos/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/Application.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/deliveryorders/infra/DefaultKitchenridersClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/deliveryorders/infra/DefaultKitchenridersClient.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/deliveryorders/infra/KitchenridersClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/deliveryorders/infra/KitchenridersClient.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/application/OrderService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/application/OrderService.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/application/OrderTableService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/application/OrderTableService.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/JpaOrderRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/JpaOrderRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/JpaOrderTableRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/JpaOrderTableRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/Order.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/Order.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/OrderLineItem.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/OrderLineItem.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/OrderRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/OrderRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/OrderStatus.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/OrderStatus.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/OrderTable.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/OrderTable.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/OrderTableRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/OrderTableRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/domain/OrderType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/domain/OrderType.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/ui/OrderRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/ui/OrderRestController.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/eatinorders/ui/OrderTableRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/eatinorders/ui/OrderTableRestController.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/application/MenuGroupService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/application/MenuGroupService.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/application/MenuService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/application/MenuService.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/domain/JpaMenuGroupRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/domain/JpaMenuGroupRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/domain/JpaMenuRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/domain/JpaMenuRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/domain/Menu.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/domain/Menu.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/domain/MenuGroup.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/domain/MenuGroup.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/domain/MenuGroupRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/domain/MenuGroupRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/domain/MenuProduct.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/domain/MenuProduct.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/domain/MenuRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/domain/MenuRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/ui/MenuGroupRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/ui/MenuGroupRestController.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/menus/ui/MenuRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/menus/ui/MenuRestController.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/products/application/ProductService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/products/application/ProductService.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/products/domain/JpaProductRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/products/domain/JpaProductRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/products/domain/Product.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/products/domain/Product.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/products/domain/ProductRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/products/domain/ProductRepository.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/products/infra/DefaultPurgomalumClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/products/infra/DefaultPurgomalumClient.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/products/infra/PurgomalumClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/products/infra/PurgomalumClient.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/products/ui/ProductRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/java/kitchenpos/products/ui/ProductRestController.java -------------------------------------------------------------------------------- /src/main/java/kitchenpos/takeoutorders/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/db/migration/V1__Initialize_project_tables.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/resources/db/migration/V1__Initialize_project_tables.sql -------------------------------------------------------------------------------- /src/main/resources/db/migration/V2__Insert_default_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/main/resources/db/migration/V2__Insert_default_data.sql -------------------------------------------------------------------------------- /src/main/resources/static/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/resources/templates/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/test/java/kitchenpos/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/ApplicationTest.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/Fixtures.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/Fixtures.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/eatinorders/application/FakeKitchenridersClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/eatinorders/application/FakeKitchenridersClient.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/eatinorders/application/InMemoryOrderRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/eatinorders/application/InMemoryOrderRepository.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/eatinorders/application/InMemoryOrderTableRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/eatinorders/application/InMemoryOrderTableRepository.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/eatinorders/application/OrderServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/eatinorders/application/OrderServiceTest.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/eatinorders/application/OrderTableServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/eatinorders/application/OrderTableServiceTest.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/menus/application/InMemoryMenuGroupRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/menus/application/InMemoryMenuGroupRepository.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/menus/application/InMemoryMenuRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/menus/application/InMemoryMenuRepository.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/menus/application/MenuGroupServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/menus/application/MenuGroupServiceTest.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/menus/application/MenuServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/menus/application/MenuServiceTest.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/products/application/FakePurgomalumClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/products/application/FakePurgomalumClient.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/products/application/InMemoryProductRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/products/application/InMemoryProductRepository.java -------------------------------------------------------------------------------- /src/test/java/kitchenpos/products/application/ProductServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/java/kitchenpos/products/application/ProductServiceTest.java -------------------------------------------------------------------------------- /src/test/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/next-step/ddd-tactical-design/HEAD/src/test/resources/application.properties --------------------------------------------------------------------------------