{"id":13597963,"url":"https://github.com/luyf1995/lyf-vue-nest-admin","last_synced_at":"2025-04-10T06:30:39.700Z","repository":{"id":169223015,"uuid":"644756972","full_name":"luyf1995/lyf-vue-nest-admin","owner":"luyf1995","description":"简易的后台管理系统，包含用户管理、部门管理、角色管理、权限管理模块。 前端：vite、vue3、pinia、element-plus、axios、typescript 后端：nestjs、prisma、jwt 数据库：mysql","archived":false,"fork":false,"pushed_at":"2024-04-01T01:43:38.000Z","size":2068,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-06T22:40:56.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/luyf1995.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":"2023-05-24T07:37:26.000Z","updated_at":"2024-09-13T09:37:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac1394f3-4682-40a4-9e15-bae2ef39c465","html_url":"https://github.com/luyf1995/lyf-vue-nest-admin","commit_stats":null,"previous_names":["luyf1995/lyf-vue-nest-admin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyf1995%2Flyf-vue-nest-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyf1995%2Flyf-vue-nest-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyf1995%2Flyf-vue-nest-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luyf1995%2Flyf-vue-nest-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luyf1995","download_url":"https://codeload.github.com/luyf1995/lyf-vue-nest-admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248168125,"owners_count":21058774,"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":[],"created_at":"2024-08-01T17:00:44.487Z","updated_at":"2025-04-10T06:30:38.523Z","avatar_url":"https://github.com/luyf1995.png","language":"TypeScript","funding_links":[],"categories":["Nestjs"],"sub_categories":[],"readme":"# lyf-vue-nest-admin\n\n## 简介\n\n采用 vue3+nestjs 构建的简易版后台管理系统。\u003cbr\u003e\n\n- 前端采用 Vite、Vue3、Pinia、Typescript、Element-Plus。\n- 后端采用 NestJs、Prisma。\n- 权限认证使用 Jwt。\n- 数据库使用 Mysql、Redis\n  \u003cbr\u003e\n\n## 本地开发\n\n### 前端\n\n\u003ccode\u003e\n  # 进入前端目录\u003cbr\u003e\n  cd lyf-ui\u003cbr\u003e\n  # 安装依赖\u003cbr\u003e\n  npm install\u003cbr\u003e\n  # 运行\u003cbr\u003e\n  npm run dev\n\u003c/code\n\n\u003cbr\u003e\n\n### 后端\n\n默认使用 Mysql 数据库，在 \u003ccode\u003e.env\u003c/code\u003e 文件中可以修改数据库类型、用户名、密码、地址、数据库名以及模式，详情见\u003ca href=\"https://prisma.yoga/getting-started/setup-prisma/start-from-scratch/relational-databases/connect-your-database-typescript-postgres\"\u003ePrisma 官方文档\u003c/a\u003e\n\n\u003ccode\u003e\n  #进入后端目录\u003cbr\u003e\n  cd lyf-admin\u003cbr\u003e\n  # 安装依赖\u003cbr\u003e\n  npm install\u003cbr\u003e\n  # 数据库迁移（创建数据库表）\u003cbr\u003e\n  npm run migrate:dev\u003cbr\u003e\n  # 数据库执行初始化sql文件\u003cbr\u003e\n  ./db/lyf.sql\u003cbr\u003e\n  # 运行\u003cbr\u003e\n  npm run start:dev\u003cbr\u003e\n\u003c/code\u003e\n\n\u003cbr\u003e\n\n## 功能\n\n- 用户管理：系统用户的维护。\n- 部门管理：组织架构的维护。\n- 角色管理：系统内部角色的维护，通过配置对应的权限，可进行前端菜单、操作按钮以及后端接口的限制。\n- 权限管理：系统内权限的维护，根据系统内的菜单、按钮以及接口创建对应的权限。\n\n\u003cbr\u003e\n\n## 系统截图\n\n\u003cdiv\u003e\n  \u003cimg src=\"./doc/screenshot/login.png\" style=\"width: 45%;\"\u003e\n  \u003cimg src=\"./doc/screenshot/dept-list.png\" style=\"width: 45%;\"\u003e\n  \u003cimg src=\"./doc/screenshot/user-list.png\" style=\"width: 45%;\"\u003e\n  \u003cimg src=\"./doc/screenshot/user-save.png\" style=\"width: 45%;\"\u003e\n  \u003cimg src=\"./doc/screenshot/role-list.png\" style=\"width: 45%;\"\u003e\n  \u003cimg src=\"./doc/screenshot/role-save.png\" style=\"width: 45%;\"\u003e\n  \u003cimg src=\"./doc/screenshot/permission-list.png\" style=\"width: 45%;\"\u003e\n  \u003cimg src=\"./doc/screenshot/permission-save.png\" style=\"width: 45%;\"\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluyf1995%2Flyf-vue-nest-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluyf1995%2Flyf-vue-nest-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluyf1995%2Flyf-vue-nest-admin/lists"}