Home

Awesome

CASL Examples

This repository is a monorepo of CASL examples. Examples illustrate integrations with major frameworks. This repository uses pnpm to manage all examples as a monorepo but you are not restricted to use pnpm. If you are interested in particular example, just navigate to its folder and use whatever package manager you like.

You can find examples in packages folder. See README.md of the specific example for details.

Examples

Currently this repository contains the next examples:

ExampleDescriptionDemo
CASL hello worldhello world example to start playing withCASL HelloWorld
CASL React todouser roles in Todo appCASL React Todo
CASL React blogACL in Blog app with REST API
CASL Angular todouser roles in Todo app
CASL Vue todouser roles in Todo app
CASL Vue blogACL in Blog app with REST API
CASL Express APIACL in REST API for Blog app
CASL Fastify+Prisma APIACL in REST API for Blog app

Want to contribute?

Want to file a bug, contribute some code, or full example? Excellent! Read up on guidelines for contributing.

License

All examples are published by MIT license