Skip to content

docs: add NestJS integration example#551

Open
Muzzu8421 wants to merge 1 commit intoapache:masterfrom
Muzzu8421:add-nestjs-docs
Open

docs: add NestJS integration example#551
Muzzu8421 wants to merge 1 commit intoapache:masterfrom
Muzzu8421:add-nestjs-docs

Conversation

@Muzzu8421
Copy link
Copy Markdown

This PR adds a NestJS integration example for Casbin using a custom guard.

It demonstrates how to use Casbin for authorization in a NestJS application, including installation, guard implementation, and policy configuration.

The example shows how to protect routes using a NestJS guard and enforce access control with Casbin.

This will help developers easily integrate Casbin with modern Node.js frameworks like NestJS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant