{"id":13597911,"url":"https://github.com/87789771/meimei-nestjs-admin","last_synced_at":"2025-04-11T22:30:17.595Z","repository":{"id":41257918,"uuid":"448203377","full_name":"87789771/meimei-nestjs-admin","owner":"87789771","description":"🚀🚀 基于NestJs + TypeScript +Prisma + Redis + MySql + Vue3 + vite + Element-UI编写的一款前后端分离的权限管理系统。🚀内置角色系统、导入导出、数据权限、表单连续提交拦截、前端表格列自定义等...🚀","archived":false,"fork":false,"pushed_at":"2025-03-26T10:35:59.000Z","size":6119,"stargazers_count":544,"open_issues_count":22,"forks_count":101,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-04T06:04:11.640Z","etag":null,"topics":["admin","express","nestjs","nestjs-admin","prisma","ruoyi","typeorm","typescript","vue","vue3"],"latest_commit_sha":null,"homepage":"http://42.192.136.154:3000/#/login?redirect=%2Findex","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/87789771.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-15T06:48:33.000Z","updated_at":"2025-04-03T07:00:17.000Z","dependencies_parsed_at":"2022-07-10T03:19:23.389Z","dependency_job_id":"5c18f66b-74b9-47a2-9c98-154c6b7fedfc","html_url":"https://github.com/87789771/meimei-nestjs-admin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87789771%2Fmeimei-nestjs-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87789771%2Fmeimei-nestjs-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87789771%2Fmeimei-nestjs-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87789771%2Fmeimei-nestjs-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/87789771","download_url":"https://codeload.github.com/87789771/meimei-nestjs-admin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248489399,"owners_count":21112564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","express","nestjs","nestjs-admin","prisma","ruoyi","typeorm","typescript","vue","vue3"],"created_at":"2024-08-01T17:00:43.360Z","updated_at":"2025-04-11T22:30:17.559Z","avatar_url":"https://github.com/87789771.png","language":"Vue","funding_links":[],"categories":["Nestjs"],"sub_categories":[],"readme":"## 版本问题\n当前项目包含1.0文件（我刚开始学习 nestjs 时无聊写的项目），后端使用的是TypeOrm，前端用的的vue2.0，同时也使用了swagger，功能和这个基本一样 (都具备数据权限，但是因为数据库工具的不同，实现方式不同) 。 本文介绍的内容都是针这两天刚写的版本（后端使用 Prisma,前端使用 vue3+vite ）。如果有需要查看和学习TypeOrm版本的，可以直接切换Tags到1.0。 后续如果我有时间，我也只会维护 Prisma + vue3 的这个版本。因为这个写起来更简单湿滑，一看就懂。同时在这个版本中，我去掉了swagger的支持， 我觉得用它太麻烦了，丢失了js的灵活性。我习惯的开发流程是:   apiFox定义字段和接口 ----\u003e prisma定义模型 ----\u003e 推送数据库  ----\u003e 业务程序实现。   apiFox真是一个特别好用的东西，当然 nestjs 也给了我们前端无限可能，prisma 更是把数据库交互变成了一看就会的东西。希望这两个简单的后台系统项目可以给你们在学习nestjs以及后端思维上有点帮助。。。。   最后：如果觉得还可以，麻烦点个star。你的鼓励是我能抽出时间维护它最后的动力了。\n\n\n\n## 项目简介\n槑槑是一款后台管理系统，它前端基于 [vue3](https://v3.cn.vuejs.org/) 和 [element-ui](https://element-plus.org/zh-CN/) ，后端基于 node 的后端框架 [nestjs](https://docs.nestjs.com/) ，数据库采用 mysql ，缓存采用 redis。\n\n\n## 在线体验\n  - [演示地址](http://203.25.211.232:888/meimei/#/login)      账号密码（admin admin123  和 meimei  123456）\n  - [文档地址](http://203.25.211.232:888/meimei-doc/)\n  - [码源地址](https://github.com/87789771/meimei-nestjs-admin)\n\n\n## 技术要求\n  - [Vue3](https://v3.cn.vuejs.org/)\n  - [Element-ui](https://element-plus.org/zh-CN/)\n  - [TypeScript](https://www.tslang.cn/index.html)\n  - [Nestjs](https://docs.nestjs.com/)\n  - [Prisma](https://www.prisma.io/)\n  - Mysql\n  - Redis\n  \n## 技术选型\n  1. **前端技术**\n   - vue @3.4.21\n   - element-plus @2.6.1\n   - axios @0.27.2\n   - pinia @2.0.22\n   - vue-router @4.2.5\n   - sass @1.56.1\n  \n  2. **后端技术**\n   - nest @10.3.2\n   - prisma @5.12.1\n   - ioredis @5.4.1\n    \n## 内置功能\n- 用户管理：用户是系统操作者，该功能主要完成系统用户配置。\n- 部门管理：配置系统组织机构（公司、部门、小组），树结构展现支持数据权限。\n- 岗位管理：配置系统用户所属担任职务。\n- 菜单管理：配置系统菜单，操作权限，按钮权限标识等。\n- 角色管理：角色菜单权限分配、设置角色按机构进行数据范围权限划分。\n- 字典管理：对系统中经常使用的一些较为固定的数据进行维护。\n- 参数管理：对系统动态配置常用参数。\n- 通知公告：系统通知公告信息发布维护。\n- 操作日志：系统正常操作日志记录和查询；系统异常信息日志记录和查询。\n- 登录日志：系统登录日志记录查询包含登录异常。\n- 在线用户：当前系统中活跃用户状态监控。\n- 定时任务：在线（添加、修改、删除)任务调度包含执行结果日志。\n- 系统接口：根据业务代码自动生成相关的api接口文档。\n- 服务监控：监视当前系统CPU、内存、磁盘、堆栈等相关信息。\n- 缓存监控：对系统的缓存信息查询，命令统计等。\n- 缓存列表：查看redis的缓存情况\n- 在线构建器：拖动表单元素生成相应的Vue代码。\n\n\n## 目录结构\n\n```\n    meimei\n    ├── prisma                          #数据库模型和迁移模块\n    ├── static                          #静态文件\n    │   └── upload                      #上传文件夹\n    ├── src\n    │   ├── common                      \n    │   │   ├── class                   #公共返回值包装类\n    │   │   ├── contants                #系统常量\n    │   │   ├── decorators              #装饰器\n    │   │   ├── dto                     #数据模型\n    │   │   ├── entities                #公共实体模型\n    │   │   ├── enums                   #枚举\n    │   │   ├── exceptions              #全局错误拦截器\n    │   │   ├── filters                 #全局错误过滤器\n    │   │   ├── guards                  #全局守卫\n    │   │   ├── interceptors            #装饰器\n    │   │   ├── interface               #公共接口\n    │   │   └── pipes                   #公共管道\n    │   │   └── type                    #公共类型\n    │   ├── config\n    │   │   ├── config.dev              #开发环境配置文件\n    │   │   ├── config.pro              #正式环境配置文件\n    │   │   ├── index      \n    │   ├── modules                     #业务模块文件夹\n    │   │   ├── common                  #导入导出和上传模块\n    │   │   ├── login                   #登录模块\n    │   │   ├── monitor                 #系统监控\n    │   │   └── system                  #系统管理\n    │   ├── shared                      \n    │   │   ├── prisma                  #数据库连接定义\n    │   │   ├── shared.module.ts        #公共模块\n    │   │   └── shared.service.ts       #公共方法\n    │   ├── app.module.ts\n    │   ├── main.ts\n    ├── test\n    │   ├── app.e2e-spec.ts\n    │   └── jest-e2e.json\n    ├── .eslintrc.js\n    ├── .prettierrc\n    ├── meimei-prisma.sql                     #初始化sql语句\n    ├── nest-cli.json\n    ├── package.json\n    ├── tsconfig.build.json\n    ├── tsconfig.json\n    └── yarn.lock\n```\n\n## 系统截图\n ![](http://203.25.211.232:888/meimei-prod/github/1.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/2.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/3.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/4.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/5.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/6.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/7.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/8.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/9.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/10.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/11.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/12.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/13.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/14.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/15.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/16.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/17.jpg)\n ![](http://203.25.211.232:888/meimei-prod/github/18.jpg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F87789771%2Fmeimei-nestjs-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F87789771%2Fmeimei-nestjs-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F87789771%2Fmeimei-nestjs-admin/lists"}