fix: fix broken links (#93)

1 file changed
tree: cdb67eb3fae44b60b0fca62f3126f4b2d13f6a68
  1. .github/
  2. public/
  3. src/
  4. .eslintrc
  5. .gitignore
  6. .prettierrc
  7. craco.config.js
  8. LICENSE
  9. netlify.toml
  10. package.json
  11. README.md
  12. tsconfig.json
  13. yarn.lock
README.md

Casbin-editor

Casbin-editor is a web-based Casbin model and policy editor. It's based on React + TypeScript.

Use the Casbin-editor to write your Casbin model and policy in your web browser. It provides functionality such as syntax highlighting and code completion, just like an IDE for a programming language.

Try it at either:

  1. Casbin official website: https://casbin.org/editor
  2. Our standalone GitHub pages: https://editor.casbin.org

How it works?

Casbin-editor is a pure frontend Javascript project. It uses node-casbin to perform policy enforcement. It's notable that node-casbin can be used either in frontend Javascript or Node.js.

This project can be viewed as an example for using node-casbin in the browser.

Getting started

npm install
npm start

Open browser: http://localhost:3000/

Deployment

npm deploy

The generated static pages will be pushed into gh-pages branch of origin and published in GitHub Pages (https://editor.casbin.org). The Casbin official site (https://casbin.org/editor) uses iframe to embed the published GitHub pages.