# âð¯ Hexagonal Architecture + DDD + CQRS Java example with SpringBoot
<img src="http://codely.tv/wp-content/uploads/2016/05/cropped-logo-codelyTV.png" align="left" width="192px" height="192px"/>
<img align="left" width="0" height="192px" hspace="10"/>
> You can do awesome stuff with Java ð
[![CodelyTV](https://img.shields.io/badge/codely-tv-green.svg?style=flat-square)](https://codely.tv)
[![Build Status](https://travis-ci.org/CodelyTV/cqrs-ddd-java-example.svg?branch=master)](https://travis-ci.org/CodelyTV/cqrs-ddd-java-example)
Implementation example of a Java application following Domain-Driven Design (DDD) and Command Query Responsibility Segregation (CQRS) principles, keeping the code as simple as possible.
Take a look, play and have fun with it!
## ð Environment setup
1. Install Java: `brew cask install java`
2. Clone this repository: `git clone https://github.com/CodelyTV/cqrs-ddd-java-example`
3. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK:
1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar) and other project artifacts:
`./gradlew assemble --warning-mode all`
2. Run the tests and plugins verification tasks:
`./gradlew check --warning-mode all`
3. Execute the main application entrypoint:
`./gradlew run --warning-mode all`
4. Start developing!
## ð¤ How to update dependencies
* Gradle (current version: 5.1.1 - [releases](https://gradle.org/releases/)):
`./gradlew wrapper --gradle-version=5.1.1 --distribution-type=bin` or modifying the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties#L3)
* JUnit (current version: 5.3.2 - [releases](https://junit.org/junit5/docs/snapshot/release-notes/index.html)):
[`build.gradle:11`](build.gradle#L11-L12)
## ð¤ Contributing
There are a lot of missing things (add swagger/OpenAPI, improve documentation...), feel free to add them if you want!
没有合适的资源?快使用搜索试试~ 我知道了~
java-ddd-example:using使用SpringBoot的Java项目中的六角结构+ DDD + CQRS
共34个文件
java:14个
gitkeep:7个
gradle:6个
5星 · 超过95%的资源 需积分: 44 37 下载量 156 浏览量
2021-01-29
19:56:28
上传
评论 1
收藏 74KB ZIP 举报
温馨提示
:hot_beverage: :direct_hit: 带有SpringBoot的Hexagonal Architecture + DDD + CQRS Java示例 您可以使用Java做一些很棒的事情 :slightly_smiling_face: 遵循域驱动设计(DDD)和命令查询责任隔离(CQRS)原则的Java应用程序的实现示例,以使代码尽可能简单。 看看,玩,玩得开心! :rocket: 环境设定 安装Java: brew cask install java 克隆此存储库: git clone https://github.com/CodelyTV/cqrs-ddd-java-example 执行一些,以检查一切正常: 创建和其他项目工件: ./gradlew assemble --warning-mode all 运行测试和插件验证任务: ./gradlew check --warning-mode all 执行主应用程序入口点: ./gradlew run --warning-mode all 开始开发! :thinking_face: 如何更新依
资源详情
资源评论
资源推荐
收起资源包目录
java-ddd-example-master.zip (34个子文件)
java-ddd-example-master
gradlew 5KB
settings.gradle 132B
src
backoffice
test
.gitkeep 0B
main
.gitkeep 0B
build.gradle 52B
shared
test
.gitkeep 0B
main
tv.codely.shared
domain
AggregateRoot.java 526B
EventBus.java 138B
DomainEvent.java 104B
application
DomainEventSubscriber.java 231B
infrastructure
bus
ReactorEventBus.java 1KB
build.gradle 17B
mooc
test
tv
codely
mooc
video
application
publish
VideoPublisherShould.java 911B
main
tv
codely
mooc
video
domain
VideoPublished.java 1KB
VideoTitle.java 563B
Video.java 647B
VideoDescription.java 593B
application
publish
VideoPublisher.java 708B
infrastructure
VideoPublisherCliController.java 984B
notification
domain
.gitkeep 0B
application
create
SendPushToSubscribersOnVideoPublished.java 677B
find
.gitkeep 0B
infrastructure
.gitkeep 0B
build.gradle 52B
.travis.yml 752B
gradle
wrapper
gradle-wrapper.properties 232B
gradle-wrapper.jar 55KB
README.md 2KB
gradlew.bat 2KB
applications
test
.gitkeep 0B
main
tv
codely
Starter.java 137B
build.gradle 156B
.gitignore 77B
build.gradle 1KB
共 34 条
- 1
雯儿ccu
- 粉丝: 23
- 资源: 4587
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 计算机网络四次实验报告
- (175549404)基于微信小程序的十二神鹿点餐(外卖小程序)(毕业设计,包括数据库,源码,教程).zip
- (179941432)基于MATLAB车牌识别系统【GUI含界面】.zip
- (179941434)基于MATLAB车牌识别系统【含界面GUI】.zip
- (178021462)基于Javaweb+ssm的医院在线挂号系统的设计与实现.zip
- (178047214)基于springboot图书管理系统.zip
- 张郅奇 的Python学习过程
- (23775420)欧姆龙PLC CP1H-E CP1L-E CJ2M CP1E 以太网通讯.zip
- (174590622)计算机课程设计-IP数据包解析
- (175550824)泛海三江全系调试软件PCSet-All2.0.3 1
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1