qmetrics.net

Nest Admin

NestJS and Vue RBAC admin starter

Separated admin stack: NestJS REST API with MySQL, TypeORM, Redis, and JWT, plus a Vue 3 Ant Design Vue front end with fine-grained RBAC.

Overview

Nest Admin is a full-stack starter for enterprise-style back-office administration. The backend uses NestJS with TypeScript, TypeORM, MySQL, Redis, JWT authentication, and Swagger-documented REST APIs. The frontend is Vue 3 with Ant Design Vue, calling the same API surface.

Access control is role-based with granularity down to button-level permissions, including single sign-on. API authorization reads current roles from the database rather than trusting role claims inside tokens; issued access tokens must remain registered to stay valid.

Operators initialize MySQL from the provided SQL script and configure environment files for database, Redis, and secrets. JWT and refresh-token secrets must each be at least 32 random characters or the process refuses to start. Docker and docker compose are supported for local dependencies and production-style images that wait for the database, run migrations, and serve the API under pm2-runtime.

A demo mode can lock down the built-in administrator account and restrict mutating HTTP methods while leaving read and login available. New users receive a default initial password until an administrator changes it. The pairing is intended as a template for teams building internal admin consoles on familiar JavaScript stack components.

Key features

  • NestJS REST API with Swagger
  • Vue 3 Ant Design Vue admin UI
  • RBAC with button-level permissions
  • JWT and refresh token authentication
  • MySQL via TypeORM and Redis cache
  • Docker and docker compose deployment
  • Database migration workflow
  • Demo mode for public deployments

Use cases

  • Internal enterprise admin consoles
  • RBAC-protected back-office APIs
  • Full-stack admin starter on Nest and Vue
  • Teams needing SSO-ready permission templates
  • Self-hosted operations dashboards

Tags

Similar software

Better Auth

Composable TypeScript authentication and authorization framework

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

★ 30.9k⟳ todayMIT
Open Source Alternative to:Stytch

Devise

Modular authentication engine for Ruby on Rails

Devise adds sign-in, registration, and related account flows to Rails apps through a Warden-backed engine. Teams enable only the authentication modules they need for each user model.

★ 24.3k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

Laravel Permission

Database-backed roles and permissions for Laravel applications

Laravel Permission stores roles and permissions in the database and wires them to users, guards, and Laravel’s authorization gate.

★ 13k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

go-admin

Gin and Vue admin backend scaffold with RBAC

A separated front-end and back-end starter for admin panels built on Gin and Vue. It ships user management, JWT auth, Casbin RBAC, code generation, and optional multi-tenancy.

★ 12.8k⟳ 1 month agoMIT

Nebular

Customizable Angular UI kit on Eva Design System

Nebular is an Angular UI library with themes, components, and optional auth and security modules. It follows Eva Design System specs with runtime theme switching.

★ 8.1k⟳ 10 months agoMIT
Frameworks & PlatformsDesktop/CLI app

RuoYi Vue3

Vue 3 admin frontend for separated permission systems

RuoYi Vue3 is the official front end for the RuoYi line: Vue 3, Vite, Element Plus, and Pinia paired with a Spring Boot permission backend.

★ 6.8k⟳ 3 days agoMIT