soybean-admin-nestjs

    基于 NestJS 和 CQRS 的后台管理系统脚手架,融合 DDD 驱动设计和 NestJS monorepo 结构,内置基础权限管理。为开发者提供一个灵活、模块化的起点,助力构建基础的管理系统。

    Language: json

    Author: Lucas Thomas (@lucas_thomas)

    9 stars · 336 views

    Files

    • user-logged-in.event.ts (ts)
    • base-demo.service.ts (ts)
    • api.http (http)
    • Makefile (Makefile)
    • base-demo.controller.spec.ts (ts)
    • main.ts (ts)
    • jest-e2e.json (json)
    • tsconfig.app.json (json)
    • migration.sql (sql)
    • domain-deleted.event.handler.ts (ts)
    • agent.ts (ts)
    • common.ts (ts)
    • service.ts (ts)
    • reset-pwd.vue (vue)
    • access-key-operate-drawer.vue (vue)
    • creativity-banner.vue (vue)
    • project-news.vue (vue)
    • operation-log-search.vue (vue)
    • menu-auth-modal.vue (vue)
    • role-operate-drawer.vue (vue)
    • user-search.vue (vue)
    • page-domains-query.handler.ts (ts)
    • domain-create.command.ts (ts)
    • tsconfig.json (json)
    • page-access_key.dto.ts (ts)
    • api.module.ts (ts)
    • assign-permission.dto.ts (ts)
    • assign-route.dto.ts (ts)
    • domain.dto.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • menu.controller.ts (ts)
    • user.controller.ts (ts)
    • api-endpoint.infra.module.ts (ts)
    • api-endpoint.read.pg.repository.ts (ts)
    • api-endpoint.write.pg.repository.ts (ts)
    • menu.read.pg.repository.ts (ts)
    • login-log.write.pg.repository.ts (ts)
    • operation-log.write.pg.repository.ts (ts)
    • access_key-create.command.handler.ts (ts)
    • access_key-delete.command.ts (ts)
    • constants.ts (ts)
    • index.ts (ts)
    • role-assign-user.command.ts (ts)
    • constants.ts (ts)
    • user.write.repo-port.ts (ts)
    • page-users.query.ts (ts)
    • user-ids.by-role_id.query.ts (ts)
    • users.by-ids.query.ts (ts)
    • domain.module.ts (ts)
    • menu-create.command.handler.ts (ts)
    • menu-update.command.handler.ts (ts)
    • route.dto.ts (ts)
    • index.ts (ts)
    • menu-ids.by-role_code&domain.query.handler.ts (ts)
    • menu-ids.by-user_id&domain.query.handler.ts (ts)
    • menus.by-ids.query.handler.ts (ts)
    • menu.service.ts (ts)
    • menu-ids.by-user_id&domain.query.ts (ts)
    • menus.by-ids.query.ts (ts)
    • domain-deleted.event.handler.ts (ts)
    • constants.ts (ts)
    • tokens.read.model.ts (ts)
    • tokens.write.repo-port.ts (ts)
    • tokens.by-refresh_token.query.ts (ts)
    • login-log.read.model.ts (ts)
    • operation-log.model.ts (ts)
    • operation-log.read.model.ts (ts)
    • operation-log.write.repo-port.ts (ts)
    • bootstrap.module.ts (ts)
    • app.config.ts (ts)
    • redis.config.ts (ts)
    • security.config.ts (ts)
    • throttler.config.ts (ts)
    • tsconfig.lib.json (json)
    • rest.constant.ts (ts)
    • tsconfig.lib.json (json)
    • keyv-cache-store.ts (ts)
    • fastify.adapter.ts (ts)
    • authz.constants.ts (ts)
    • use-permissions.decorator.ts (ts)
    • log.decorator.ts (ts)
    • index.ts (ts)
    • authz-module-options.interface.ts (ts)
    • authz-rbac.service.ts (ts)
    • index.ts (ts)
    • all-exceptions.filter.ts (ts)
    • api-key.module.ts (ts)
    • jwt.auth.guard.ts (ts)
    • transform.interceptor.ts (ts)
    • oss.config.interface.ts (ts)
    • oss.config.service.ts (ts)
    • tsconfig.lib.json (json)
    • db.constant.ts (ts)
    • pagination.ts (ts)
    • prisma.module.ts (ts)
    • sysDomain.ts (ts)
    • id.util.ts (ts)
    • ip.util.ts (ts)
    • tsconfig.lib.json (json)
    • local-route.migrate.ts (ts)
    • pnpm-lock.yaml (yaml)
    • migration.sql (sql)
    • schema.prisma (prisma)
    • index.ts (ts)
    • sysRoleMenu.ts (ts)
    • 01_create_table.sql (sql)
    • 02_sys_user.sql (sql)
    • 03_sys_role.sql (sql)
    • 07_sys_role_menu.sql (sql)
    • .dockerignore (dockerignore)
    • .env (env)
    • .env.test (test)
    • .gitignore (gitignore)
    • proxy.ts (ts)
    • html.ts (ts)
    • package.json (json)
    • eslint.config.js (js)
    • nginx.conf (conf)
    • mock.ts (ts)
    • type.ts (ts)
    • package.json (json)
    • index.ts (ts)
    • use-boolean.ts (ts)
    • shared.ts (ts)
    • type.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • name.ts (ts)
    • use-request.ts (ts)
    • use-table.ts (ts)
    • index.ts (ts)
    • index.module.css (css)
    • index.vue (vue)
    • shared.ts (ts)
    • package.json (json)
    • index.ts (ts)
    • bin.ts (ts)
    • router.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • at-sign.svg (svg)
    • banner.svg (svg)
    • cast.svg (svg)
    • not-found.svg (svg)
    • full-screen.vue (vue)
    • pin-toggler.vue (vue)
    • reload-button.vue (vue)
    • button-icon.vue (vue)
    • count-to.vue (vue)
    • wave-bg.vue (vue)
    • index.ts (ts)
    • form.ts (ts)
    • index.ts (ts)
    • index.vue (vue)
    • theme-button.vue (vue)
    • user-avatar.vue (vue)
    • index.vue (vue)
    • horizontal-mix-menu.vue (vue)
    • reversed-horizontal-mix-menu.vue (vue)
    • vertical-mix-menu.vue (vue)
    • search-modal.vue (vue)
    • search-result.vue (vue)
    • index.vue (vue)
    • layout-mode-card.vue (vue)
    • index.vue (vue)
    • dayjs.ts (ts)
    • app.ts (ts)
    • dayjs.ts (ts)
    • iconify.ts (ts)
    • loading.ts (ts)
    • routes.ts (ts)
    • route.ts (ts)
    • route.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • shared.ts (ts)
    • nprogress.css (css)
    • transition.css (css)
    • settings.ts (ts)
    • api.d.ts (ts)
    • common.d.ts (ts)
    • elegant-router.d.ts (ts)
    • launch.json (json)
    • .env.prod (prod)
    • LICENSE (LICENSE)
    • commands (commands)
    • domain (domain)
    • constants.ts (ts)
    • commands (commands)
    • domain (domain)
    • events (events)
    • role-deleted.event.ts (ts)
    • role.model.ts (ts)
    • login-log.entity.ts (ts)
    • libs (libs)
    • bootstrap (bootstrap)
    • src (src)
    • api (api)
    • uno-preset (uno-preset)
    • src (src)
    • utils (utils)
    • src (src)
    • crypto.ts (ts)
    • menu.module.ts (ts)
    • storage.ts (ts)
    • public (public)
    • menu.infra.module.ts (ts)
    • application (application)
    • command-handlers (command-handlers)
    • .editorconfig (editorconfig)
    • .gitattributes (gitattributes)
    • log-audit (log-audit)
    • login-log (login-log)
    • repository (repository)
    • application (application)
    • event-handlers (event-handlers)
    • api-endpoint.model.ts (ts)
    • query-handlers (query-handlers)
    • page-users.query.handler.ts (ts)
    • service (service)
    • sysUser.ts (ts)
    • role-create.command.handler.ts (ts)
    • oss.module.ts (ts)
    • login-log.read.repo-port.ts (ts)
    • role.controller.ts (ts)
    • page-domains.dto.ts (ts)
    • endpoints.query.handler.ts (ts)
    • migration_lock.toml (toml)
    • tokens.write.pg.repository.ts (ts)
    • Dockerfile (Dockerfile)
    • base-demo.controller.ts (ts)
    • .gitignore (gitignore)
    • index.ts (ts)
    • base-demo.module.ts (ts)
    • .npmrc (npmrc)
    • model.conf (conf)
    • oss.config.yaml (yaml)
    • ip2region.config.yaml (yaml)
    • app.e2e-spec.ts (ts)
    • index.vue (vue)
    • storage.ts (ts)
    • index.vue (vue)
    • register.vue (vue)
    • [url].vue (vue)
    • bind-wechat.vue (vue)
    • index.vue (vue)
    • index.vue (vue)
    • index.ts (ts)
    • index.ts (ts)
    • fetch.ts (ts)
    • user-deleted.event.ts (ts)
    • password-login.dto.ts (ts)
    • access_key-deleted.event.ts (ts)
    • assign-user.dto.ts (ts)
    • page-login-log.dto.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • app.controller.spec.ts (ts)
    • app.module.ts (ts)
    • app.controller.ts (ts)
    • access_key.write.repo-port.ts (ts)
    • tokens.read.pg.repository.ts (ts)
    • domain.write.pg.repository.ts (ts)
    • constants.ts (ts)
    • access_key-create.command.ts (ts)
    • public.decorator.ts (ts)
    • role.infra.module.ts (ts)
    • index.ts (ts)
    • access_key-deleted.event.handler.ts (ts)
    • access_key-created.event.handler.ts (ts)
    • index.ts (ts)
    • access_key-created.event.ts (ts)
    • page-endpoints.query.handler.ts (ts)
    • endpoints.by-ids.query.handler.ts (ts)
    • api-endpoint.event.handler.ts (ts)
    • page-endpoints.query.ts (ts)
    • endpoints.query.ts (ts)
    • index.ts (ts)
    • user-created.event.handler.ts (ts)
    • user-create.command.handler.ts (ts)
    • password-identifier.dto.ts (ts)
    • user-delete.command.handler.ts (ts)
    • index.ts (ts)
    • authorization.service.ts (ts)
    • authentication.module.ts (ts)
    • index.ts (ts)
    • user.read.model.ts (ts)
    • user-update.command.ts (ts)
    • user-delete.command.ts (ts)
    • user-created.event.ts (ts)
    • domain.model.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • domain-deleted.event.ts (ts)
    • index.ts (ts)
    • domain.read.repo-port.ts (ts)
    • page-domains.query.ts (ts)
    • domain.write.repo-port.ts (ts)
    • tsconfig.lib.json (json)
    • menu-deleted.event.handler.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • menus.query.handler.ts (ts)
    • menu-ids.by-role_id&domain.query.handler.ts (ts)
    • constants.ts (ts)
    • menu.write.repo-port.ts (ts)
    • menus.query.ts (ts)
    • menu-ids.by-role_id&domain.query.ts (ts)
    • role-create.dto.ts (ts)
    • index.ts (ts)
    • menus.by-role_code&domain.query.ts (ts)
    • role-update.command.handler.ts (ts)
    • role-delete.command.handler.ts (ts)
    • get-roles.query-result.ts (ts)
    • role.read.model.ts (ts)
    • page-roles.query.ts (ts)
    • role.write.repo-port.ts (ts)
    • constants.ts (ts)
    • role_codes_by_user_id_query.ts (ts)
    • tokens.by-refresh_token.query.handler.ts (ts)
    • role.module.ts (ts)
    • index.ts (ts)
    • token-generated.event.ts (ts)
    • tokens.read.repo-port.ts (ts)
    • tokens.module.ts (ts)
    • tsconfig.lib.json (json)
    • index.ts (ts)
    • index.ts (ts)
    • user-logged-in.event.handler.ts (ts)
    • page-login-logs.query.ts (ts)
    • index.ts (ts)
    • login-log.write.repo-port.ts (ts)
    • oss.config.yaml (yaml)
    • index.ts (ts)
    • constants.ts (ts)
    • operation-log.module.ts (ts)
    • page-operation-logs.query.handler.ts (ts)
    • operation-log.read.repo-port.ts (ts)
    • index.ts (ts)
    • collect-api-data.ts (ts)
    • index.ts (ts)
    • tsconfig.lib.json (json)
    • tsconfig.lib.json (json)
    • cors.config.ts (ts)
    • ip2region.config.interface.ts (ts)
    • api-key.constant.ts (ts)
    • event-emitter-token.constant.ts (ts)
    • cache.constant.ts (ts)
    • shared.module.ts (ts)
    • bypass-transform.decorator.ts (ts)
    • global.module.ts (ts)
    • model.conf.1 (1)
    • tsconfig.lib.json (json)
    • authz-api.ts (ts)
    • permission.interface.ts (ts)
    • index.ts (ts)
    • authz.service.ts (ts)
    • authz-management.service.ts (ts)
    • crypto.interceptor.ts (ts)
    • crypto.service.ts (ts)
    • api-key.decorator.ts (ts)
    • api-key.constants.ts (ts)
    • tsconfig.lib.json (json)
    • api-key.signature.algorithm.ts (ts)
    • pagination-params.ts (ts)
    • complex-api-key.service.ts (ts)
    • res.response.ts (ts)
    • index.ts (ts)
    • logger.module.ts (ts)
    • error-code.enum.ts (ts)
    • tsconfig.lib.json (json)
    • tsconfig.lib.json (json)
    • tsconfig.lib.json (json)
    • logger.interface.ts (ts)
    • ip2region.ts (ts)
    • tsconfig.lib.json (json)
    • tsconfig.lib.json (json)
    • tsconfig.lib.json (json)
    • tsconfig.lib.json (json)
    • utils.d.ts (ts)
    • tsconfig.lib.json (json)
    • extensions.json (json)
    • package.json (json)
    • migration.sql (sql)
    • package.json (json)
    • migration.sql (sql)
    • tsconfig.build.json (json)
    • helper.ts (ts)
    • casbinRule.ts (ts)
    • 06_sys_user_role.sql (sql)
    • 04_sys_menu.sql (sql)
    • .editorconfig (editorconfig)
    • .gitattributes (gitattributes)
    • .npmrc (npmrc)
    • index.ts (ts)
    • README.en_US.md (md)
    • client.ts (ts)
    • unocss.ts (ts)
    • index.html (html)
    • tsconfig.json (json)
    • index.ts (ts)
    • constant.ts (ts)
    • tsconfig.json (json)
    • package.json (json)
    • index.ts (ts)
    • name.ts (ts)
    • recommend.ts (ts)
    • tsconfig.json (json)
    • use-context.ts (ts)
    • dark-mode-container.vue (vue)
    • tsconfig.json (json)
    • use-svg-icon-render.ts (ts)
    • index.ts (ts)
    • index.vue (vue)
    • index.module.css.d.ts (ts)
    • package.json (json)
    • index.ts (ts)
    • button-tab.vue (vue)
    • index.vue (vue)
    • index.ts (ts)
    • changelog.ts (ts)
    • package.json (json)
    • index.ts (ts)
    • tsconfig.json (json)
    • tsconfig.json (json)
    • index.ts (ts)
    • activity.svg (svg)
    • App.vue (vue)
    • update-pkg.ts (ts)
    • release.ts (ts)
    • echarts.ts (ts)
    • exception-base.vue (vue)
    • avatar.svg (svg)
    • copy.svg (svg)
    • no-permission.svg (svg)
    • no-icon.svg (svg)
    • chrome.svg (svg)
    • network-error.svg (svg)
    • menu-toggler.vue (vue)
    • app.ts (ts)
    • icon.ts (ts)
    • common.ts (ts)
    • table.ts (ts)
    • auth.ts (ts)
    • router.ts (ts)
    • index.vue (vue)
    • en-us.ts (ts)
    • zh-cn.ts (ts)
    • locale.ts (ts)
    • index.vue (vue)
    • search-footer.vue (vue)
    • naive.ts (ts)
    • index.vue (vue)
    • config-operation.vue (vue)
    • assets.ts (ts)
    • nprogress.ts (ts)
    • transform.ts (ts)
    • title.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • log.ts (ts)
    • shared.ts (ts)
    • index.ts (ts)
    • shared.ts (ts)
    • shared.ts (ts)
    • system-manage.ts (ts)
    • reset.css (css)
    • index.ts (ts)
    • global.css (css)
    • global.d.ts (ts)
    • global.scss (scss)
    • components.d.ts (ts)
    • app.d.ts (ts)
    • index.vue (vue)
    • operation-log.read.pg.repository.ts (ts)
    • operation-log.event.handler.ts (ts)
    • shared.ts (ts)
    • setting-item.vue (vue)
    • domain-delete.command.ts (ts)
    • reg.ts (ts)
    • api-result.decorator.ts (ts)
    • access_key.infra.module.ts (ts)
    • access_key.read.pg.repository.ts (ts)
    • code-login.vue (vue)
    • menu.read.model.ts (ts)
    • authentication.service.ts (ts)
    • index.ts (ts)
    • tokens.infra.module.ts (ts)
    • prisma.service.ts (ts)
    • domain-delete.command.handler.ts (ts)
    • find-roles-query.handler.ts (ts)
    • access_key.dto.ts (ts)
    • index.ts (ts)
    • init-doc.swagger.ts (ts)
    • log.d.ts (ts)
    • password.value-object.ts (ts)
    • index.module.css.d.ts (ts)
    • index.ts (ts)
    • vars.ts (ts)
    • constant.ts (ts)
    • theme-schema-switch.vue (vue)
    • nest-cli.json (json)
    • vertical-menu.vue (vue)
    • index.ts (ts)
    • main.ts (ts)
    • menu.write.pg.repository.ts (ts)
    • index.vue (vue)
    • horizontal-menu.vue (vue)
    • ip2region.service.ts (ts)
    • api-key-validation.event.ts (ts)
    • role-update.command.ts (ts)
    • user-ids.by-role_id.query.handler.ts (ts)
    • tsconfig.lib.json (json)
    • 05_sys_domain.sql (sql)
    • operation-log.infra.module.ts (ts)
    • tsconfig.lib.json (json)
    • .prettierrc (prettierrc)
    • index.vue (vue)
    • index.ts (ts)
    • domain-update.command.handler.ts (ts)
    • router.d.ts (ts)
    • domain.read.model.ts (ts)
    • access_keys.bootstrap.handler.ts (ts)
    • role-delete.command.ts (ts)
    • index.vue (vue)
    • index.ts (ts)
    • security.adapter.ts (ts)
    • options.ts (ts)
    • jest-e2e.json (json)
    • index.vue (vue)
    • better-scroll.vue (vue)
    • simple-api-key.service.ts (ts)
    • menu-deleted.event.ts (ts)
    • builtin.ts (ts)
    • index.ts (ts)
    • package.json (json)
    • index.vue (vue)
    • api-endpoint.module.ts (ts)
    • first-level-menu.vue (vue)
    • domain-create.command.handler.ts (ts)
    • eslint.config.js (js)
    • page-login-logs.query.handler.ts (ts)
    • role-create.command.ts (ts)
    • sysRole.ts (ts)
    • crypto.constant.ts (ts)
    • access_key-validation.event.handler.ts (ts)
    • use-count-down.ts (ts)
    • business.ts (ts)
    • access-key-search.vue (vue)
    • login-log-search.vue (vue)
    • storage.d.ts (ts)
    • .env (env)
    • vite-env.d.ts (ts)
    • role.by-id.query.ts (ts)
    • user.ts (ts)
    • captcha.ts (ts)
    • oss.service.ts (ts)
    • naive-ui.d.ts (ts)
    • user.write.pg.repository.ts (ts)
    • index.vue (vue)
    • Dockerfile (Dockerfile)
    • api-key.guard.ts (ts)
    • docker-compose.yml (yml)
    • tsconfig.json (json)
    • user-create.command.ts (ts)
    • shared (shared)
    • errors (errors)
    • .dockerignore (dockerignore)
    • .vscode (vscode)
    • README.md (md)
    • backend (backend)
    • .http (http)
    • apps (apps)
    • base-demo (base-demo)
    • src (src)
    • resources (resources)
    • test (test)
    • base-system (base-system)
    • src (src)
    • api (api)
    • access-key (access-key)
    • dto (dto)
    • rest (rest)
    • query-handlers (query-handlers)
    • endpoint (endpoint)
    • dto (dto)
    • rest (rest)
    • endpoint.controller.ts (ts)
    • iam (iam)
    • dto (dto)
    • ports (ports)
    • page-users.dto.ts (ts)
    • rest (rest)
    • authentication.controller.ts (ts)
    • log-audit (log-audit)
    • login-log (login-log)
    • dto (dto)
    • rest (rest)
    • operation-log (operation-log)
    • dto (dto)
    • operation-log.controller.ts (ts)
    • rest (rest)
    • infra (infra)
    • bounded-contexts (bounded-contexts)
    • access-key (access-key)
    • access_key.write.pg.repository.ts (ts)
    • repository (repository)
    • api-endpoint (api-endpoint)
    • api-endpoint (api-endpoint)
    • queries (queries)
    • repository (repository)
    • iam (iam)
    • authentication (authentication)
    • repository (repository)
    • repository (repository)
    • api-endpoint (api-endpoint)
    • domain (domain)
    • repository (repository)
    • menu (menu)
    • access-key (access-key)
    • api-endpoint (api-endpoint)
    • role (role)
    • repository (repository)
    • tokens (tokens)
    • repository (repository)
    • domain (domain)
    • operation-log (operation-log)
    • repository (repository)
    • lib (lib)
    • bounded-contexts (bounded-contexts)
    • event-handlers (event-handlers)
    • hooks (hooks)
    • commands (commands)
    • domain (domain)
    • events (events)
    • query-handlers (query-handlers)
    • service (service)
    • ports (ports)
    • queries (queries)
    • iam (iam)
    • authentication (authentication)
    • application (application)
    • command-handlers (command-handlers)
    • api-endpoint.write.repo-port.ts (ts)
    • dto (dto)
    • event-handlers (event-handlers)
    • role-assign-permission.command.ts (ts)
    • commands (commands)
    • role-assign-route.command.ts (ts)
    • domain (domain)
    • events (events)
    • ports (ports)
    • queries (queries)
    • domain (domain)
    • application (application)
    • command-handlers (command-handlers)
    • event-handlers (event-handlers)
    • query-handlers (query-handlers)
    • events (events)
    • ports (ports)
    • queries (queries)
    • menu (menu)
    • application (application)
    • command-handlers (command-handlers)
    • dto (dto)
    • event-handlers (event-handlers)
    • query-handlers (query-handlers)
    • service (service)
    • filters (filters)
    • menu-update.command.ts (ts)
    • commands (commands)
    • menu.model.ts (ts)
    • domain (domain)
    • events (events)
    • ports (ports)
    • queries (queries)
    • role (role)
    • application (application)
    • command-handlers (command-handlers)
    • dto (dto)
    • event-handlers (event-handlers)
    • query-handlers (query-handlers)
    • ports (ports)
    • queries (queries)
    • tokens (tokens)
    • application (application)
    • event-handlers (event-handlers)
    • src (src)
    • query-handlers (query-handlers)
    • domain (domain)
    • events (events)
    • ports (ports)
    • queries (queries)
    • log-audit (log-audit)
    • login-log (login-log)
    • application (application)
    • event-handlers (event-handlers)
    • query-handlers (query-handlers)
    • domain (domain)
    • ports (ports)
    • queries (queries)
    • operation-log (operation-log)
    • application (application)
    • event-handlers (event-handlers)
    • query-handlers (query-handlers)
    • test (test)
    • ip2region (ip2region)
    • src (src)
    • ip2region.config.yaml (yaml)
    • domain (domain)
    • ports (ports)
    • model.conf (conf)
    • queries (queries)
    • resources (resources)
    • swagger (swagger)
    • config (config)
    • src (src)
    • main.ts (ts)
    • crypto (crypto)
    • constants (constants)
    • src (src)
    • global (global)
    • src (src)
    • src (src)
    • constants (constants)
    • infra (infra)
    • adapter (adapter)
    • src (src)
    • casbin.ts (ts)
    • casbin (casbin)
    • src (src)
    • adapter (adapter)
    • index.ts (ts)
    • config (config)
    • constants (constants)
    • decorators (decorators)
    • guards (guards)
    • index.ts (ts)
    • interfaces (interfaces)
    • services (services)
    • casbin-prisma.adapter.ts (ts)
    • decorators (decorators)
    • interceptors (interceptors)
    • services (services)
    • decorators (decorators)
    • src (src)
    • guard (guard)
    • src (src)
    • api-key (api-key)
    • events (events)
    • services (services)
    • interceptors (interceptors)
    • src (src)
    • rest (rest)
    • src (src)
    • src (src)
    • logger.interceptor.ts (ts)
    • jwt.passport-strategy.ts (ts)
    • strategies (strategies)
    • src (src)
    • logger (logger)
    • src (src)
    • oss (oss)
    • src (src)
    • prisma (prisma)
    • src (src)
    • redis (redis)
    • src (src)
    • redis.service.ts (ts)
    • typings (typings)
    • src (src)
    • utils (utils)
    • src (src)
    • src (src)
    • prisma (prisma)
    • migrations (migrations)
    • 0_init_migration (0_init_migration)
    • 0_migration (0_migration)
    • 1_migration (1_migration)
    • 20240902161339_migration (20240902161339_migration)
    • seeds (seeds)
    • sys (sys)
    • deploy (deploy)
    • postgres (postgres)
    • frontend (frontend)
    • .vscode (vscode)
    • build (build)
    • config (config)
    • router.ts (ts)
    • plugins (plugins)
    • src (src)
    • time.ts (ts)
    • packages (packages)
    • alova (alova)
    • axios (axios)
    • src (src)
    • index.ts (ts)
    • antd.ts (ts)
    • color (color)
    • src (src)
    • constant (constant)
    • palette (palette)
    • shared (shared)
    • types (types)
    • materials (materials)
    • src (src)
    • libs (libs)
    • admin-layout (admin-layout)
    • src (src)
    • commands (commands)
    • chrome-tab.vue (vue)
    • page-tab (page-tab)
    • simple-scrollbar (simple-scrollbar)
    • types (types)
    • ofetch (ofetch)
    • src (src)
    • scripts (scripts)
    • cleanup.ts (ts)
    • config (config)
    • locales (locales)
    • shared (shared)
    • types (types)
    • custom-icon.svg (svg)
    • src (src)
    • assets (assets)
    • imgs (imgs)
    • svg-icon (svg-icon)
    • empty-data.svg (svg)
    • expectation.svg (svg)
    • service-error.svg (svg)
    • components (components)
    • advanced (advanced)
    • common (common)
    • wind.svg (svg)
    • app-provider.vue (vue)
    • custom (custom)
    • soybean-avatar.vue (vue)
    • global-menu (global-menu)
    • components (components)
    • constants (constants)
    • enum (enum)
    • hooks (hooks)
    • business (business)
    • common (common)
    • layouts (layouts)
    • base-layout (base-layout)
    • blank-layout (blank-layout)
    • context (context)
    • modules (modules)
    • global-breadcrumb (global-breadcrumb)
    • langs (langs)
    • global-content (global-content)
    • global-footer (global-footer)
    • global-header (global-header)
    • components (components)
    • global-logo (global-logo)
    • modules (modules)
    • global-search (global-search)
    • components (components)
    • global-sider (global-sider)
    • global-tab (global-tab)
    • theme-drawer (theme-drawer)
    • components (components)
    • modules (modules)
    • plugins (plugins)
    • page-fun.vue (vue)
    • theme-color.vue (vue)
    • locales (locales)
    • access-key (access-key)
    • router (router)
    • elegant (elegant)
    • guard (guard)
    • routes (routes)
    • service (service)
    • api (api)
    • log (log)
    • index.ts (ts)
    • request (request)
    • store (store)
    • modules (modules)
    • app (app)
    • auth (auth)
    • route (route)
    • tab (tab)
    • theme (theme)
    • plugins (plugins)
    • styles (styles)
    • css (css)
    • scss (scss)
    • theme (theme)
    • typings (typings)
    • api (api)
    • utils (utils)
    • modules (modules)
    • views (views)
    • _builtin (_builtin)
    • 403 (403)
    • 404 (404)
    • 500 (500)
    • iframe-page (iframe-page)
    • login (login)
    • modules (modules)
    • operation (operation)
    • modules (modules)
    • access-key (access-key)
    • home (home)
    • modules (modules)
    • log (log)
    • login (login)
    • index.vue (vue)
    • modules (modules)
    • api-endpoint-auth-modal.vue (vue)
    • manage (manage)
    • menu (menu)
    • index.vue (vue)
    • modules (modules)
    • shared.ts (ts)
    • role (role)
    • modules (modules)
    • tsconfig.json (json)
    • [id].vue (vue)
    • user (user)
    • modules (modules)
    • user-detail (user-detail)
    • sysMenu.ts (ts)
    • colord.ts (ts)
    • log.interceptor.ts (ts)
    • page-operation-log.dto.ts (ts)
    • menu-delete.command.handler.ts (ts)
    • menu-create.command.ts (ts)
    • app.service.ts (ts)
    • page-access_key.query.ts (ts)
    • token-generated.event.handler.ts (ts)
    • page-endpoint.dto.ts (ts)
    • chrome-tab-bg.vue (vue)
    • casbin-rule-api-endpoint.service.ts (ts)
    • access_key.read.model.ts (ts)
    • layout-mode.vue (vue)
    • .gitignore (gitignore)
    • crypto.config.ts (ts)
    • index.ts (ts)
    • cache-manager.module.ts (ts)
    • tokens.entity.ts (ts)
    • index.vue (vue)
    • tree.util.ts (ts)
    • favicon.svg (svg)
    • line-chart.vue (vue)
    • redis.util.ts (ts)
    • domain-update.command.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • role-deleted.event.handler.ts (ts)
    • role-deleted.event.handler.ts (ts)
    • user-update.command.handler.ts (ts)
    • header-banner.vue (vue)
    • role.dto.ts (ts)
    • unplugin.ts (ts)
    • access_key.model.ts (ts)
    • ecosystem.config.js (js)
    • api-key.interface.ts (ts)
    • logo.svg (svg)
    • pwd-login.vue (vue)
    • login-log.controller.ts (ts)
    • sysUserRole.ts (ts)
    • authz.guard.ts (ts)
    • table-column-setting.vue (vue)
    • menu.read.repo-port.ts (ts)
    • dark-mode.vue (vue)
    • domain.read.pg.repository.ts (ts)
    • menus.tree.query.handler.ts (ts)
    • role.read.repo-port.ts (ts)
    • tsconfig.json (json)
    • klona.ts (ts)
    • constants.ts (ts)
    • app.e2e-spec.ts (ts)
    • menus.tree.query.ts (ts)
    • lang-switch.vue (vue)
    • tsconfig.lib.json (json)
    • index.ts (ts)
    • api-endpoint.read.repo-port.ts (ts)
    • use-loading.ts (ts)
    • index.ts (ts)
    • access_key.read.repo-port.ts (ts)
    • ip2region.module.ts (ts)
    • scrollbar.scss (scss)
    • use-signal.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • access-key.ts (ts)
    • refresh-token.dto.ts (ts)
    • crypto.module.ts (ts)
    • index.vue (vue)
    • user.read.repo-port.ts (ts)
    • settings.json (json)
    • index.ts (ts)
    • user.read.pg.repository.ts (ts)
    • pie-chart.vue (vue)
    • ATTRIBUTION.md (markdown)
    • user-deleted.event.handler.ts (ts)
    • imports.ts (ts)
    • role.write.pg.repository.ts (ts)
    • route.dto.ts (ts)
    • menus.by-role_code&domain.query.handler.ts (ts)
    • user-operate-drawer.vue (vue)
    • users.by-ids.query.handler.ts (ts)
    • union-key.d.ts (ts)
    • card-data.vue (vue)
    • svg-close.vue (vue)
    • domain.by-code.query.ts (ts)
    • access_key.controller.ts (ts)
    • domain-deleted.event.handler.ts (ts)
    • package.json (json)
    • global.d.ts (ts)
    • login-log.read.pg.repository.ts (ts)
    • iam.module.ts (ts)
    • icon.ts (ts)
    • context-menu.vue (vue)
    • endpoint.read.model.ts (ts)
    • page-access_keys.query.handler.ts (ts)
    • heart.svg (svg)
    • role-search.vue (vue)
    • index.vue (vue)
    • page-operation-logs.query.ts (ts)
    • domain.by-code.query.handler.ts (ts)
    • access-key.d.ts (ts)
    • menu-ids.by-role_code&domain.query.ts (ts)
    • role.read.pg.repository.ts (ts)
    • README.md (md)
    • user-logged-in.event.handler.ts (ts)
    • index.ts (ts)
    • refreshtoken-used.event.ts (ts)
    • crypto.decorator.ts (ts)
    • user.dto.ts (ts)
    • endpoints.by-ids.query.ts (ts)
    • domain-infra.module.ts (ts)
    • login-log.module.ts (ts)
    • git-commit.ts (ts)
    • system-logo.vue (vue)
    • index.ts (ts)
    • index.ts (ts)
    • progress.ts (ts)
    • refresh-token-used-event.handler.ts (ts)
    • index.ts (ts)
    • package.json (json)
    • nanoid.ts (ts)
    • pnpm-lock.yaml (yaml)
    • pnpm-workspace.yaml (yaml)
    • uno.config.ts (ts)
    • access_key.module.ts (ts)
    • login-log.infra.module.ts (ts)
    • tsconfig.lib.json (json)
    • domain.controller.ts (ts)
    • launch.json (json)
    • page-roles.dto.ts (ts)
    • authorization.controller.ts (ts)
    • access_key-delete.command.handler.ts (ts)
    • menu-delete.command.ts (ts)
    • index.ts (ts)
    • authz.module.ts (ts)
    • env.ts (ts)
    • 08_casbin_rule.sql (sql)
    • palette.ts (ts)
    • index.module.css (css)
    • table-header-operation.vue (vue)
    • look-forward.vue (vue)
    • svg-icon.vue (vue)
    • auth.ts (ts)
    • index.ts (ts)
    • shared.ts (ts)
    • type.ts (ts)
    • menu-operate-modal.vue (vue)
    • vite.config.ts (ts)
    • ip2region.config.service.ts (ts)
    • tsconfig.app.json (json)
    • page-roles.query.handler.ts (ts)
    • role.by-id.query.handler.ts (ts)
    • tsconfig.json (json)

    Loading code snippet…