Skip to content

ebreak/casbin-oa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

casbin-oa

Casbin-oa is An official manuscript processing, evaluation and display system for Casbin technical writers

Architecture

Casbin-oa contains 2 parts:

Name Description Language Source code
Frontend Web frontend UI for Casbin-oa Javascript + React https://github.com/casbin/casbin-oa/tree/master/web
Backend RESTful API backend for Casbin-oa Golang + Beego + MySQL https://github.com/casbin/casbin-oa/

Installation

  • Get the code:

    go get github.com/casbin/casbin-oa

    or

    git clone https://github.com/casbin/casbin-oa.git
  • Setup database:

    Casbin-oa will store its student, report and topics informations in a MySQL database named: casbin_oa, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/casbin-oa/tree/master/conf

    dataSourceName = root:123@tcp(localhost:3306)/

    Casbin-oa uses XORM to connect to DB, so all DBs supported by XORM can also be used.

  • Run backend (in port 10000):

    go run main.go
  • Run frontend (in the same machine's port 9000):

    cd web
    ## npm
    npm install
    npm run start
    ## yarn
    yarn install
    yarn run start
  • Open browser:

    http://localhost:9000/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.2%
  • Go 32.1%
  • Other 1.7%