vendix-backend-auth

Community

JWT-based auth with granular access control.

AuthorRzyfront
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Vendix backend security often requires a consistent and scalable approach to authentication and authorization. This Skill provides a global JWT-based strategy with public route support, role-based access control, and granular permissions to secure APIs.

Core Features & Use Cases

  • Global JWT authentication via a NestJS AuthModule with APP_GUARD
  • Public routes marked by a @Public() decorator
  • Role-based access controlled by a RolesGuard
  • Permission-based access controlled by a PermissionsGuard
  • Centralized JwtStrategy for token validation
  • Easy integration with existing domain layers and controllers

Quick Start

  1. Integrate the AuthModule into app.module.ts with JWT settings (secret, expiresIn).
  2. Mark sensitive routes with appropriate @Roles and/or @Permissions decorators.
  3. Provision JWTs (login) and secure endpoints with Bearer tokens.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vendix-backend-auth
Download link: https://github.com/Rzyfront/Vendix/archive/main.zip#vendix-backend-auth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.