Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huijiewei/agile-boot
Spring Boot Hexagonal Architecture
https://github.com/huijiewei/agile-boot
hexagonal-architecture java spring-boot
Last synced: about 1 month ago
JSON representation
Spring Boot Hexagonal Architecture
- Host: GitHub
- URL: https://github.com/huijiewei/agile-boot
- Owner: huijiewei
- License: mit
- Created: 2020-10-03T14:33:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T02:55:35.000Z (5 months ago)
- Last Synced: 2024-08-26T03:59:48.688Z (5 months ago)
- Topics: hexagonal-architecture, java, spring-boot
- Language: Java
- Homepage: https://github.com/huijiewei/agile-vue
- Size: 577 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SpringBoot 3.2+ 脚手架项目
[![macOS](https://img.shields.io/badge/macOS-000000?style=flat&logo=apple&logoColor=white&color=2e118a)](https://www.apple.com/macos)
[![IntelliJ IDEA](https://img.shields.io/badge/IntelliJ_IDEA-000000?style=flat&logo=intellij-idea)](https://jb.gg/OpenSourceSupport)
[![Git](https://img.shields.io/badge/Git-F05032?style=flat&logo=git&logoColor=white)](https://git-scm.com/)
[![Sourcetree](https://img.shields.io/badge/Sourcetree-0052CC?style=flat&logo=Sourcetree&logoColor=white)](https://sourcetreeapp.com)[![Gradle](https://img.shields.io/badge/Gradle-02303A?style=flat&logo=gradle&logoColor=white)](https://gradle.org/)
[![Java](https://img.shields.io/badge/Java-ED8B00?style=flat&logo=java&logoColor=white)](https://www.java.com)
[![Spring Boot](https://img.shields.io/badge/Spring_Boot-F2F4F9?style=flat&logo=spring-boot)](https://spring.io/projects/spring-boot)[![GitHub](https://img.shields.io/badge/GitHub-100000?style=flat&logo=github&logoColor=white)](https://github.com)
[![GitHub license](https://img.shields.io/github/license/huijiewei/agile-boot)](https://github.com/huijiewei/agile-boot)
[![GitHub issues](https://img.shields.io/github/issues/huijiewei/agile-boot)](https://GitHub.com/huijiewei/agile-boot/issues)### 特点
- 基于最新版的 Spring Boot
- 六边形架构(Hexagonal Architecture)
- 基于 JDBC Template 的批量插入方案
- 树形数据使用闭包表(Closure Table)
- 待补充...### 子项目列表
- agile-engine 核心代码
- agile-console 命令行应用
- agile-serve-admin 管理后台 API
- agile-spring-upload 上传功能模块
- agile-spring-captcha 验证码功能模块### 开发环境配置方法
复制 config/application-example.yaml 到同目录,命名为 application-default.yaml
修改 application-default.yaml 里面的相关配置
### 数据库初始化
运行 agile-console(ConsoleApplication) 项目,选择初始化数据库
### 区域数据导入
下载省市县数据库 https://github.com/modood/Administrative-divisions-of-China/blob/master/dist/data.sqlite
重命名为 district.sqlite 并保存到 database 目录
运行 agile-console(ConsoleApplication) 项目,选择区域数据导入
### 运行
直接使用 IntelliJ IDEA 打开项目直接运行即可
#### 配合前端 Agile Vue
https://github.com/huijiewei/agile-vue
管理员:13012345678 密码:123456