Skip to content

Jarvie8176/casbin-example

Repository files navigation

Build Status Coverage Status codebeat badge

Deploy

Description

A demo app of attribute-based access control in Node.js based on Casbin.

Demo

https://radiant-temple-29238.herokuapp.com/

  • it may take a few minutes to load if the webapp is inactive for too long.

Guide

see docs/guide.md.

Installation

$ npm install

Running the app

$ npm start

Test

# unit tests
$ npm run test

# test coverage
$ npm run test:cov

Model & policy

src/config/

License

Apache 2.0