startup-monorepo-fastify-phaser-colyseus-threejs
A repository about starting from scratch for monorepo, fastify, Phaser, colyseus, and threejs.
🐉 Dante Cloud 国内首个支持阻塞式和响应式服务并行的微服务云原生基座。采用领域驱动模型(DDD)设计思想,以「高质量代码、低安全漏洞」为核心,高度模块化和组件化设计,支持IoT等物联网设备认证,满足国家三级等保要求、支持接口…
“一套代码、两种架构,可以灵活切换微服务和单体两种架构”的企业级云原生微服务基座
Atomgit 仓库 | Github 仓库 | Gitee 仓库 | 在线文档
因 Maven 中央仓库将于 2026年08月11日 开启 发布配额限制措施(当前为普通用户每月限制发布 7 次、内容大小 80 M、文件数量 1000), Maven 中央仓库发布限制详情:【原文地址】
为了降低 Maven 中央仓库新措施对项目的影响,对项目进行了多项重构措施:
org.dromara 变更为 cn.herodotus由于 Dante Cloud 模块较多,虽然做了大量的努力,但始终无法在保持模块合理性的前提下,满足 Maven 中央文件数量的限制(向中央仓库发布一个 jar 是按照 24 个文件计算,包含:signatures, checksums, source jars, javadocs)
为此,将会降低项目向 Maven 中央仓库的发布频率和次数,仅对重要的版本更新向中央仓库推送发布。所以,后续在使用本项目时,大多数情形下需要用户自己编译 Dante Engine 工程代码。
当前 Maven 中央仓库的限制规则并不完全确定,可能会存在调整,Dante Cloud 会结合变化情况,适时调整发布策略。您也可以点个 Star 持续关注更新!
Dante Cloud 国内首个支持阻塞式和响应式服务并行的、开箱即用的企业级云原生微服务基座。是采用领域驱动模型(DDD)设计思想,以「高质量代码、低安全漏洞」为核心,基于 Spring 生态全域开源技术,高度模块化和组件化设计,支持智能电视、IoT等物联网设备认证,满足国家三级等保要求,支持接口国密数字信封加解密等一系列安全体系的一站式多租户微服务解决方案。独创的可以“一套代码实现微服务和单体两种架构灵活切换”的企业级应用系统。
Dante Cloud 一直秉承着“简洁、高效、包容、务实”的理念,使用微服务领域及周边相关的各类新兴技术或主流技术进行建设,不断地深耕细作、去粗取精、用心打造。目标是构建一款代码质量高、维护投入低、安全防护强的微服务基座,可以帮助用户快速跨越架构技术选型、技术研究探索、基础架构搭建阶段,直接聚焦业务开发。极大地降低传统项目中因安全漏洞、技术负债、低质代码等潜在隐患所产生的高维护投入。期望像项目名字寓意一样,构建一套可以在在行业变革的时期承上启下,助力企业信息化建设和数字化转型的产品。
Dante Cloud 核心关注点是:「高质量的系统代码」、「合理的系统架构」、「低耦合的模块划分」、「高安全性系统实现」、「灵活的功能扩展能力」,「优质的微服务实践方案」。不会像其它一些系统一样,追求 业务功能 的 丰富 性。堆叠大量无法做到真正通用的功能,反倒会成为负担和干扰,不如由用户自己按照需求灵活设计和实现。
Dante Cloud 优秀的模块化能力,为系统提供了高度灵活的配置能力、功能的“可插拔”能力 以及不同需求场景的适配能力。正因为优秀的模块化体系,使得 Dante Cloud 不仅是一套完整的微服务架构,还是一套高质量的 「单体模块化」 系统。这里的微服务架构和单体架构并不是分离的两套代码,也不是分离的两个项目。而是完全融合的一整套代码,使用时可以根据需要选择是以微服务模式或者单体模式运行,配合灵活的模块能力,实现系统的多样化定制和功能的管控。
这是 Dante Cloud 微服务最大的特色之一:“一套代码、两种架构”。可以帮助企业在项目早期以单体架构快速建设项目、方便开发人员在本地进行开发以及新技术研究。在项目后期随着用户规模增大以及并发需求提升时,可以快速无缝迁移至微服务架构。
微服务技术并不是 「落伍」 了,而是进入了 「成熟期」,它的 「适用场景和边界被更清晰地定义」 了。微服务不再是一个 「必须要有」 的选项,而是一个 「权衡之后」 的选择。
Dante Cloud 也并未使用任何复杂难懂或难以上手掌握的技术,项目中所涉及核心关键组件中,其中 「近 80% 均为 Spring 生态原生组件」。技术实现均为各组件标准用法的组合与应用,编码风格和代码设计一直也在极尽努力尽量与 Spring 生态的标准规范用法保持一致,只不过经过大量的版本迭代和重构之后逐渐形成了一定的封装与抽象。
因此,我们推荐以下用户选择和使用 Dante Cloud
想要从传统项目转型至微服务项目的用户,建议详细阅读《企业IT架构转型之道:阿里巴巴中台战略思想与架构实战》一书(可以先读前几章)之后再上手本项目!
对于以下用户我们不建议选择 Dante Cloud
自 v3.3.6.0 版本起,Dante Cloud 以及 Dante Engine 子项目开源协议 【永久】 变更为为 Apache License Version 2.0。可用于个人学习、毕设,允许商业使用,禁止二次开源。严禁搬运至 CSDN 下载等平台进行售卖。
使用时务必遵守以下补充条款:
如果您确实需要删除作者或版权信息,需要争得作者同意及授权。或者在 【使用公司及组织】 下进行登记,经作者整理登记信息形成表格后,可视为正式授权。
Dante Cloud 自 2.7.X 版本起,由原有单一的工程拆分为 Dante Cloud 和 Dante Engine 两个工程。Dante Cloud 为主要应用运行以及子模块组合工程,Dante Engine 为核心组件库工程。
该种设计是对于原有工程代码高度抽象,不仅可以提升底层通用代码的复用性,让代码不局限于 Dante Cloud 项目本身还可以为更多的项目所使用。用户使用 Dante Cloud,收获的不仅是一套微服务系统,更是一套可以灵活拆分和状态装配的组件库。可以像乐高一样随意组合搭建您自己的应用系统。
dante-cloud ├── configurations -- 配置文件脚本和统一Docker build上下文目录 ├── dante-cloud-dependencies -- 工程 Bom 定义,统一控制工程模块 ├── dante-cloud-module -- “半成品”组件模块分组(可以再此建立业务代码模块,以模块的形式实现代码的共享以及架构的切换) ├ ├── dante-cloud-commons -- 微服务版公共辅助代码模块 ├ └── dante-monolith-autoconfigure -- 单体版自动配置模块 ├── dante-cloud-packages -- 基础核心Starter ├ ├── authentication-spring-boot-starter -- OAuth2 授权服务器自动配置 Starter(主要用于微服务版和单体版统一认证) ├ ├── authorization-servlet-spring-boot-starter -- 阻塞式 OAuth2 资源服务器自动配置 Starter(除了 Monitor 等特殊服务以外,所有服务均需依赖) ├ ├── facility-alibaba-spring-boot-starter -- 面向 Spring Cloud Alibaba 的微服务基础设施适配 Starter ├ ├── facility-spring-boot-starter -- 基础设施切换依赖 Starter(用于切换 Alibaba、Tencent和原生微服务基础设施环境) ├ ├── facility-tencent-spring-boot-starter -- 面向 Spring Cloud Tencent 的微服务基础设施适配模块 Starter ├ ├── fegin-client-spring-boot-starter -- Feign 客户端自动配置 Starter ├ ├── rpc-client-oss-spring-boot-starter -- 服务间通信客户端自动配置 Starter(OSS 作为客户端访问其它服务) ├ ├── rpc-client-uaa-spring-boot-starter -- 服务间通信客户端自动配置 Starter(UAA 作为客户端端访问其它服务) ├ └── rpc-server-upms-spring-boot-starter -- 服务间通信服务端自动配置 Starter(UPMS 作为服务端为其它服务提供访问) ├── dante-cloud-platform -- 平台核心服务 ├ ├── dante-cloud-gateway -- 统一网关服务 ├ ├── dante-cloud-message -- 平台消息服务 ├ ├── dante-cloud-monitor -- Spring Boot Admin 监控服务 ├ ├── dante-cloud-uaa -- 账户管理和统一认证模块 ├ └── dante-cloud-upms -- 统一权限管理系统服务 ├── dante-cloud-services -- 平台业务服务 ├ ├── dante-cloud-bpmn-ability -- 工作流服务 ├ ├── dante-cloud-bpmn-logic -- 工作流基础代码模块 ├ ├── dante-cloud-oss-ability -- 对象存储服务 └── └── dante-monolith-application -- Dante Cloud 单体版应用模块
dante-engine ├── dante-assistant -- 辅助功能模块 ├ ├── dante-assistant-access -- 第三方登录接入辅助功能模块 ├ ├── dante-assistant-captcha -- 验证码辅助功能模块 ├ └── dante-assistant-oss -- AWS SDK V2 对象存储辅助功能模 ├── dante-data -- 数据访问模块 ├ ├── dante-data-commons -- 数据访问通用代码模块 ├ ├── dante-data-jpa -- 以 JPA 作为数据访问层的通用代码模块 ├ └── dante-data-rest -- 关联数据访问层的REST开发通用代码模块 ├── dante-dependencies -- 工程 Bom 定义,统一管理工程模块 ├── dante-framework -- Dante Cloud 框架核心基础模块 ├ ├── dante-autoconfigure -- 基础自动配置模块 ├ ├── dante-cache -- 缓存相关基础代码模块 ├ ├── dante-core -- 核心定义模块 ├ ├── dante-hibernate -- Hibernate 扩展模块 ├ ├── dante-security -- Security 相关基础代码模块 ├ ├── dante-spring -- SpringBoot 相关基础代码模块 ├ └── dante-web -- Web 服务相关基础代码模块 ├── dante-logic -- 系统内置功能业务逻辑模块 ├ ├── dante-logic-identity -- 身份认证功能业务逻辑模块 ├ ├── dante-logic-message -- 系统消息业务逻辑模块 ├ └── dante-logic-upms -- UPMS 业务逻辑模块 ├── dante-message -- 消息模块 ├ ├── dante-message-autoconfigure -- 消息自动配置模块 ├ ├── dante-message-commons -- 消息通用代码模块 ├ ├── dante-message-emqx -- Emqx 封装模块 ├ └── dante-message-servlet-websocket -- 基于 Servlet 环境下的 Websocket 功能封装模块 ├── dante-oauth2 -- OAuth2 认证模块 ├ ├── dante-authentication-autoconfigure -- OAuth2 授权服务器基础内容自动配置模块 ├ ├── dante-authorization-autoconfigure -- OAuth2 资源服务器基础内容自动配置模块 ├ ├── dante-oauth2-authentication -- Spring Authorization Server 授权服务器核心功能封装模块 ├ ├── dante-oauth2-authorization -- Spring Authorization Server 资源服务器核心功能封装模块 ├ ├── dante-oauth2-commons -- OAuth2 共性通用代码模块 ├ └── dante-oauth2-extension -- Spring Authorization Server 功能扩展模块 ├── dante-persistence -- 数据访问层模块 ├ ├── dante-persistence-commons -- 数据访问层通用代码模块 ├ ├── dante-persistence-autoconfigure -- 数据访问层模块自动配置 ├ └── dante-persistence-sas-jpa -- 以 JPA 作为 SAS 核心数据访问层代码实现模块 ├── dante-rest -- 系统内置功能 REST 接口模块 ├ ├── dante-rest-oss -- 对象存储功能 REST 接口模块 ├ ├── dante-rest-identity -- 身份认证功能 REST 接口模块 ├ ├── dante-rest-message -- 消息功能 REST 接口模块 ├ └── dante-rest-upms -- UPMS 功能 REST 接口模块 ├── dante-starter -- Starters ├ ├── cache-spring-boot-starter -- 缓存自动配置 Starter ├ ├── data-rdbms-spring-boot-starter -- 关系型数据库数据访问层自动配置 Starter ├ ├── logging-spring-boot-starter -- 日志收集和聚合自动配置 Starter ├ ├── oss-spring-boot-starter -- 基于 AWS SDK V2 对象存储自动配置 Starter ├ ├── reactive-container-spring-boot-starter -- Reactive 容器基础配置自动配置 Starter ├ ├── servlet-container-spring-boot-starter -- 基于 JPA 的多租户自动配置 Starter ├ ├── servlet-message-spring-boot-starter -- Servlet 环境消息模块自动配置 Starter ├ ├── tenant-spring-boot-starter -- 基于 JPA 的多租户自动配置 Starter ├ ├── web-spring-boot-starter -- Web 微服务通用 Starter ├ └── webmvc-spring-boot-starter -- WebMvc 类型应用自动配置 Starter └── readme -- README 相关素材放置目录
本系统版本号,分为四段。
| 分支名称 | 对应 Spring 生态版本 | 对应 JDK 版本 | 用途 | 现状 |
|---|---|---|---|---|
| master | Spring Boot 4.1 和 Spring Cloud 2025.1.2 | JDK 25 | 主要发布分支 | 推荐使用代码分支 |
| develop | Spring Boot 4.1 和 Spring Cloud 2025.1.2 | JDK 25 | Development 分支 | 新功能、ISSUE 均以此分支作为开发,发布后会 PR 至 master 分支 |
| 4.0.X | Spring Boot 4.0 和 Spring Cloud 2025.1.1 | JDK 25 | 历史版本,停止维护 | 基于 Spring Boot 4.0 时代开发的代码分支,稳定可用,停止维护 |
| 3.5.X | Spring Boot 3.5 和 Spring Cloud 2025.0.X | JDK 17 | 历史版本,停止维护 | 基于 Spring Boot 3.5 时代开发的代码分支,稳定可用,停止维护 |
| 3.4.X | Spring Boot 3.4 和 Spring Cloud 2024.0.X | JDK 17 | 历史版本,停止维护 | 基于 Spring Boot 3.4 时代开发的代码分支,稳定可用,停止维护 |
| 3.2.X-3.3.X | Spring Boot 3.3 和 Spring Cloud 2023.0.X | JDK 17 | 历史版本,停止维护 | 基于 Spring Boot 3.3 时代开发的代码分支,稳定可用,停止维护 |
| 3.1.X | Spring Boot 3.1 和 Spring Cloud 2022.0.X | JDK 17 | 历史版本,停止维护 | 基于 Spring Boot 3.1 时代开发的代码分支,稳定可用,停止维护 |
| 2.7.X | Spring Boot 2.7 和 Spring Cloud 2021.0.X | JDK 8 | 历史版本,停止维护 | 基于 Spring Boot 2.7 时代开发的代码分支,稳定可用,停止维护 |
| spring-security-oauth2 | Spring Boot 2.6 和 Spring Cloud 2021.0.X | JDK 8 | 历史代码,不再维护 | 基于原 Spring Security OAuth2 实现的微服务,稳定可用,因相关组件均不在维护,所以该版本停止维护 |
Dante Cloud 已通过由第三方进行的软件出厂安全测试以及等保测试。详情参见:安全测试说明
尽量不修改 Dante Cloud 以外的项目源码,如 Dante Engine、Dante OSS。如果修改了,请 Pull Requests 上来,否则代码与官方不同步,可能会将对你的日后升级增加难度。
每个版本升级,我们都会附带详细更新日志:https://www.herodotus.cn/logs/ 在这里,你可以看到 Dante Cloud 新增哪些新功能和改进。 针对有较大变化、差异的版本,我们都会负载详细的升级指南:https://www.herodotus.cn/breaking/ 在这里,你可以看到 Dante Cloud 不同版本对应升级方法。
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| 序号 | 赞助人 | 赞助时间 | 序号 | 赞助人 | 赞助时间 | 序号 | 赞助人 | 赞助时间 |
|---|---|---|---|---|---|---|---|---|
| 1 | ご沉默菋噵 | 2021-10-25 | 2 | 偷土豆的人 | 2021-11-24 | 3 | lorron | 2022-04-04 |
| 4 | 在云端 | 2022-12-26 | 5 | 西晽 | 2022-12-27 | 6 | p911gt3rs | 2023-01-03 |
| 7 | jacsty | 2023-01-31 | 8 | hubert_rust | 2023-03-16 | 9 | Zkey Z | 2023-03-18 |
| 10 | 志国欧巴 | 2023-03-27 | 11 | michael | 2023-04-07 | 12 | 大叔丨小巷 | 2023-04-11 |
| 13 | sun_left | 2023-04-19 | 14 | time、sand | 2023-07-06 | 15 | 印第安老斑鸠 | 2023-09-09 |
| 16 | 一阵风 | 2023-12-10 | 17 | Jack | 2024-03-01 | 18 | onehelper | 2024-05-24 |
| 19 | 宁哥 | 2024-05-29 | 20 | cryptoneedle | 2024-11-01 | 21 | 别吓跑我的鱼 | 2025-01-10 |
| 22 | 代码裁缝 | 2025-03-01 | 23 | Go ahead | 2025-03-10 | 24 | hoku | 2025-06-18 |
| 25 | 飞翔 | 2025-07-19 | 26 | 27 |
|
公众号:码匠君 |
|---|
|
more like this
A repository about starting from scratch for monorepo, fastify, Phaser, colyseus, and threejs.
search projects, people, and tags