# ddd-framework **Repository Path**: shotacon/ddd-framework ## Basic Information - **Project Name**: ddd-framework - **Description**: 领域驱动设计落地实现基础脚手架 - **Primary Language**: Java - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2022-11-20 - **Last Updated**: 2022-11-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ddd-framework
中文简体 | English
## Introduction > ddd-framework It is a development scaffold based on Domain Driven Design. It has high expansibility and can deal with the architecture of large and complex systems. Adopt [front](https://github.com/ken-xue/ddd-framework-vue) and [back-end](https://github.com/ken-xue/ddd-framework) separate development and provide [code generator](https://github.com/ken-xue/ddd-framework-maven-plugin) ## Architecture ### Application Layer  ### Directory Structure ``` ddd-framework ├─core 核心模块 │ ├─acl 防腐层 │ ├─adapter 控制层 │ ├─application 应用层 │ ├─core-client 核心二方包 │ ├─domain 领域层 │ ├─share-dataobject 全局共享数据对象 │ └─infrastructure 基础设施层 ├─extensions 外部拓展 │ └─acl-impl acl实现 ├─client 二方包 ├─core 启动类 ├─dependencies 依赖管理 └─doc 文档数据 ``` ## QuickStart 1.Direct clone project use ```bash git clone https://github.com/ken-xue/ddd-framework.git cd ddd-framework mvn clean install ``` 2.Created by Maven archetype ```bash # 1.Download code git clone https://github.com/ken-xue/ddd-framework.git cd ddd-framework mvn clean install # 2.Create archetype mvn archetype:create-from-project cd target/generated-sources/archetype mvn clean install # 3.Creating projects from archetype mvn archetype:generate -DarchetypeCatalog=local ``` - If you encounter mapstruct problems, please set the following settings in idea Setting->Build,Execution,Deployment->Compiler->User-local build ```shell -Djps.track.ap.dependencies=false ``` ## CodeGenerator 1.create you database table 2.import maven dependency ```xml