{"id":19298233,"url":"https://github.com/casbin/casbin-oa","last_synced_at":"2025-04-22T09:32:19.187Z","repository":{"id":43660055,"uuid":"290766801","full_name":"casbin/casbin-oa","owner":"casbin","description":"The OA system used by Casbin community","archived":false,"fork":false,"pushed_at":"2023-11-06T04:10:28.000Z","size":1694,"stargazers_count":41,"open_issues_count":4,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T22:37:43.298Z","etag":null,"topics":["casbin","casdoor","mysql","oa"],"latest_commit_sha":null,"homepage":"https://oa.casbin.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casbin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"casbin"}},"created_at":"2020-08-27T12:16:06.000Z","updated_at":"2024-08-05T07:51:36.000Z","dependencies_parsed_at":"2023-12-16T00:07:03.476Z","dependency_job_id":"758bfc73-9f20-48a8-8164-9d79a1c41e11","html_url":"https://github.com/casbin/casbin-oa","commit_stats":{"total_commits":214,"total_committers":9,"mean_commits":23.77777777777778,"dds":"0.40654205607476634","last_synced_commit":"91055e17f9c7838067b668640947ea99e6586b12"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-oa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-oa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-oa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-oa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casbin","download_url":"https://codeload.github.com/casbin/casbin-oa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223627996,"owners_count":17175817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["casbin","casdoor","mysql","oa"],"created_at":"2024-11-09T23:07:20.427Z","updated_at":"2024-11-09T23:07:20.965Z","avatar_url":"https://github.com/casbin.png","language":"Go","funding_links":["https://github.com/sponsors/casbin"],"categories":[],"sub_categories":[],"readme":"# Casbin-OA\n\nCasbin-OA is An official manuscript processing, evaluation and display system for Casbin technical writers\n\n## Online demo\n\nDeployed site: https://oa.casbin.com/\n\n## Architecture\n\nCasbin-oa contains 2 parts:\n\nName | Description | Language | Source code\n----|------|----|----\nFrontend | Web frontend UI for Casbin-oa | Javascript + React | https://github.com/casbin/casbin-oa/tree/master/web\nBackend | RESTful API backend for Casbin-oa | Golang + Beego + MySQL | https://github.com/casbin/casbin-oa/\n\n\n## Installation\n\nCasbin-OA uses Casdoor to manage members. So you need to create an organization and an application for Casnode in a\nCasdoor instance.\n\n### Necessary configuration\n\n- ##### Get the code:\n\n  ```shell\n  go get github.com/casdoor/casdoor\n  go get github.com/casbin/casbin-oa\n  ```\n  or\n    ```shell\n    git clone https://github.com/casdoor/casdoor\n    git clone https://github.com/casbin/casbin-oa.git\n    ```\n\n- Setup database:\n\n  Casbin-oa will store its student, report and topics informations in a MySQL database named: `casbin_oa`, will create\n  it if not existed. The DB connection string can be specified at: https://github.com/casbin/casbin-oa/tree/master/conf\n\n    ```ini\n    dataSourceName = root:123@tcp(localhost:3306)/\n    ```\n\n  Casbin-oa uses XORM to connect to DB, so all DBs supported by XORM can also be used.\n\n- Run backend (in port 10000):\n\n    ```shell\n    go run main.go\n    ```\n\n- Run frontend (in the same machine's port 9000):\n\n    ```shell\n    cd web\n    ## npm\n    npm install\n    npm run start\n    ## yarn\n    yarn install\n    yarn run start\n    ```\n\n- Open browser:\n\n  http://localhost:9000/\n\n### Optional configuration\n\n#### Setup your forum to enable some third-party login platform\n\nCasbin-OA uses Casdoor to manage members. If you want to log in with oauth, you should\nsee [casdoor oauth configuration](https://casdoor.org/docs/provider/oauth/overview/).\n\n#### OSS, Mail, and SMS services\n\nCasbin-OA uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.\n\n#### Github corner\n\nWe added a Github icon in the upper right corner, linking to your Github repository address. You could\nset `ShowGithubCorner` to hidden it.\n\nConfiguration:\n\n```\nexport const ShowGithubCorner = true\n\nexport const GithubRepo = \"https://github.com/casbin/casbin-oa\" //your github repository\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fcasbin-oa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasbin%2Fcasbin-oa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fcasbin-oa/lists"}