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.
Currently this repository contains the next examples:
Example | Description | Demo |
---|---|---|
CASL hello world | hello world example to start playing with | CASL HelloWorld |
CASL React todo | user roles in Todo app | CASL React Todo |
CASL React blog | ACL in Blog app with REST API | |
CASL Angular todo | user roles in Todo app | |
CASL Vue todo | user roles in Todo app | |
CASL Vue blog | ACL in Blog app with REST API | |
CASL Express API | ACL in REST API for Blog app | |
CASL Fastify+Prisma API | ACL in REST API for Blog app |
Want to file a bug, contribute some code, or full example? Excellent! Read up on guidelines for contributing.
All examples are published by MIT license