Giter VIP home page Giter VIP logo

panda's Introduction


Panda

ABP + EF Core 的微服务开源框架

⭐ 支持 工作流 与 消息推送 ⭐


💬 QQ 群: 240647629



🥇 功能列表 (持续更新)

  • 用户管理
  • 角色管理
  • 菜单管理
  • 部门管理
  • 登录日志
  • 操作日志
  • 系统公告
  • 文件上传
  • 定时任务
  • 消息推送
  • 工作流
  • 文件分片上传

核心技术

后端 C# Asp.Net Core

  • 动态 API:ABP
  • ORM 框架: EF Core
  • 鉴权授权:OpenIddict
  • 工作流:workflow-core
  • 日志:Serilog
  • 模块化:ABP
  • 依赖注入:Autofac
  • 对象映射:AutoMapper
  • 工作单元:ABP
  • 多租户:ABP
  • 本地缓存:ABP
  • 分布式缓存:Redis
  • 事件总线:ABP
  • 微服务:ABP
  • 消息通知:SignalR

前端 Vue 3

  • 组件库:element-plus
  • 路由:vue-router
  • 存储:pinia
  • 打包:vite
  • 异步请求:axios
  • 图表:echarts
  • 审批流:jsplumb
  • 拖拽:vuedraggable
  • 自定义表单:vue + element-plus 实现

项目结构

# 安装abp cli 
dotnet tool install -g Volo.Abp.Cli
# 更新abp cli
dotnet tool update -g Volo.Abp.Cli
# 创建项目	
abp new Panda.Net -u none --separate-auth-server -dbms mysql -d ef

Panda.Net.AuthServer 认证中心

Tip

参考文档:

OpenIddict

https://note.youdao.com/s/I7rsNw8N

启动命令

dotnet Panda.Net.AuthServer.dll --urls https://localhost:44365
  • 密码模式
  • 授权码模式
  • 客户端模式
  • 设备码授权模式(可用于App扫码登录)
  • 简单模式( OAuth2.0 已弃用不再实现)
    • 新增 postman 测试 json, 放在 src/Panda.Net.AuthServer/postman/postman_collection.json
    • 如图所示

Panda.Net.HttpApi.Host 服务中心

Tip

参考文档:

Abp 扩展 User 表

https://note.youdao.com/s/7oP7XG2O

启动命令

dotnet Panda.Net.HttpApi.Host.dll --urls https://localhost:44368

Panda.Workflow.HttpApi.Host 工作流

启动命令

dotnet Panda.Workflow.HttpApi.Host.dll --urls https://localhost:44598

截图:

数据库还原

# 安装 dotnet ef cli
dotnet tool install --global dotnet-ef
# 更新 dotnet ef cli
dotnet tool update --global dotnet-ef
# 生成迁移文件
dotnet ef migrations add init -c NetDbContext
# 更新数据库
dotnet ef database update -c NetDbContext
# 生成迁移脚本 ( 用于生成环境 )
dotnet ef migrations script --verbose -i --project "存放项目绝对路径" -c NetDbContext -o "存放脚本绝对路径"
# 生成某一次迭代更新的脚本, 从这个迭代 20240329102615_file1 到 20240408082719_announcement 迭代版本之间的差异脚本
dotnet ef migrations script --verbose -i --project "./" -c NetDbContext -o "./2.sql"  20240329102615_file1 20240408082719_announcement

脚本还原

#还原脚本
新建数据库panda
执行脚本 src/Panda.Net.EntityFrameworkCore/panda.sql 

panda's People

Contributors

842549829 avatar xxxxue avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.