casbin-casbin.js
An authorization library that supports access control models like ACL, RBAC, ABAC in Frontend Javascript
File Explorer
Download Latest Version (.zip)- ci.yml
- release.yml
- semantic.yml
- abac_with_obj_rule_model.conf
- abac_with_obj_rule_policy.csv
- basic_model.conf
- basic_policy.csv
- rbac_model.conf
- rbac_policy.csv
- rbac_with_domains_model.conf
- rbac_with_domains_policy.csv
- cache.test.ts
- enforcer.test.ts
- index.test.ts
- models.ts
- multirole.test.ts
- permission.test.ts
- policies.ts
- server.ts
- Authorizer.ts
- Cache.ts
- index.ts
- Permission.ts
- types.ts
- utils.ts
- webpack-dev-server-template.html
- .eslintignore
- .eslintrc.js
- .gitignore
- .npmignore
- .prettierrc
- asf.yaml
- CHANGELOG.md
- DISCLAIMER
- jest.environment.js
- jestconfig.json
- LICENSE
- NOTICE
- package.json
- README.md
- tsconfig.json
- webpack.base.js
- webpack.dev.js
- webpack.prod.js
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/apache/casbin-casbin.js
Downloads the entire project code from GitHub to your computer.
cd casbin-casbin.js
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
