In this example, we will illustrate the fundamental usage of Casbin.js in a React application.
You can install and run the project on your laptop and see how magically Casbin.js facilitate your access-control management!
Install:
npm install
Run:
npm run start
Then visit http://localhost:3000
and have a try.