casbin-example

by jarvie8176

GitHub Readme.md

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