1 changed files with 65 additions and 0 deletions
@ -0,0 +1,65 @@ |
|||||
|
# CellularManagement 项目说明 |
||||
|
|
||||
|
## 项目概述 |
||||
|
CellularManagement 是一个基于 Clean Architecture 架构的蜂窝网络管理系统。该项目采用领域驱动设计(DDD)原则,实现了高度模块化和可维护的代码结构。 |
||||
|
|
||||
|
## 技术栈 |
||||
|
- .NET 8.0 |
||||
|
- Entity Framework Core |
||||
|
- ASP.NET Core |
||||
|
- Clean Architecture |
||||
|
- DDD (领域驱动设计) |
||||
|
|
||||
|
## 项目结构 |
||||
|
``` |
||||
|
CellularManagement/ |
||||
|
├── src/ |
||||
|
│ ├── CellularManagement.Application/ # 应用层 |
||||
|
│ ├── CellularManagement.Domain/ # 领域层 |
||||
|
│ ├── CellularManagement.Infrastructure/ # 基础设施层 |
||||
|
│ └── CellularManagement.WebApi/ # 表现层 |
||||
|
``` |
||||
|
|
||||
|
## 主要功能 |
||||
|
- 用户认证与授权 |
||||
|
- 角色管理 |
||||
|
- 缓存服务 |
||||
|
- JWT令牌管理 |
||||
|
- 密钥轮换服务 |
||||
|
|
||||
|
## 开发环境要求 |
||||
|
- .NET 8.0 SDK |
||||
|
- Visual Studio 2022 或 VS Code |
||||
|
- SQL Server (可选,根据实际需求) |
||||
|
|
||||
|
## 如何运行 |
||||
|
1. 克隆项目 |
||||
|
```bash |
||||
|
git clone http://47.120.42.247:13001/root/CellularManagement.git |
||||
|
``` |
||||
|
|
||||
|
2. 还原依赖 |
||||
|
```bash |
||||
|
dotnet restore |
||||
|
``` |
||||
|
|
||||
|
3. 运行项目 |
||||
|
```bash |
||||
|
dotnet run --project src/CellularManagement.WebApi |
||||
|
``` |
||||
|
|
||||
|
## 项目特点 |
||||
|
- 采用 Clean Architecture 架构,实现关注点分离 |
||||
|
- 使用 DDD 设计模式,提高代码可维护性 |
||||
|
- 模块化设计,便于扩展和维护 |
||||
|
- 完善的依赖注入机制 |
||||
|
|
||||
|
## 贡献指南 |
||||
|
1. Fork 项目 |
||||
|
2. 创建特性分支 |
||||
|
3. 提交更改 |
||||
|
4. 推送到分支 |
||||
|
5. 创建 Pull Request |
||||
|
|
||||
|
## 许可证 |
||||
|
[MIT License](LICENSE) |
Loading…
Reference in new issue