GitXplorerGitXplorer
S

casvisor

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
e6914c655d06543f7ef1d692c73f64202da4d705

Update react-scripts to fix frozen bug.

hhsluoyz committed 2 years ago
Unverified
8986e71f45fcd2d23e983ace9be14ade051b65e2

Add base code.

hhsluoyz committed 2 years ago
Unverified
599afdc53a9bd9b92a0363388f4ae58c54d8a021

Add antd.

hhsluoyz committed 2 years ago
Unverified
9ecfcaadb47302cdc5df1955494303c03e1379b2

Add server code.

hhsluoyz committed 2 years ago
Unverified
36f5fcc4ddaf8138ce08541788d87974f783dce2

Create React app.

hhsluoyz committed 2 years ago
Unverified
a0810e2391cccfc50ca569e982bd887b53f85050

Ignore IDEA files.

hhsluoyz committed 2 years ago

README

The README file for this repository.

📦⚡️ Casvisor

An open-source logging and auditing system developed by Go and React.

semantic-release docker pull casbin/casvisor GitHub Release Docker Image Version (latest semver)

Go Report Card license GitHub issues GitHub stars GitHub forks

Online Demo

Deployed site: https://log.casbin.com/

Architecture

Casvisor contains 2 parts:

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

Installation

Casvisor uses Casdoor to manage members. So you need to create an organization and an application for Casvisor in a Casdoor instance.

Necessary configuration

Get the code

go get github.com/casbin/casdoor
go get github.com/casbin/casvisor

or

git clone https://github.com/casbin/casdoor
git clone https://github.com/casbin/casvisor

Setup database

Casvisor will store its users, nodes and topics informations in a MySQL database named: casvisor, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/casvisor/blob/master/conf/app.conf

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

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

Configure Casdoor

After creating an organization and an application for Casvisor in a Casdoor, you need to update clientID, clientSecret, casdoorOrganization and casdoorApplication in app.conf.

Run Casvisor

  • Configure and run Casvisor by yourself. If you want to learn more about casvisor.
  • Open browser: http://localhost:16001/

Optional configuration

Setup your Casvisor to enable some third-party login platform

Casvisor uses Casdoor to manage members. If you want to log in with oauth, you should see casdoor oauth configuration.

OSS, Mail, and SMS services

Casvisor uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.

Contribute

For Casvisor, if you have any questions, you can give Issues, or you can also directly start Pull Requests(but we recommend giving issues first to communicate with the community).

License

Apache-2.0