Casnode is an open-source forum (BBS) software developed in Go and React, QQ group: 555019739
Go to file
Товарищ программист 3132649d62
feat: add comments to categorize apis for swagger (#389)
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-06 18:27:23 +08:00
.github/workflows fix: Fix Crowdin failing (#375) 2021-10-10 18:55:02 +08:00
casdoor Improve error handling for TestSyncAvatars(). 2021-12-02 15:37:57 +08:00
conf Improve app.conf 2021-11-22 20:06:59 +08:00
controllers feat: add comments to categorize apis for swagger (#389) 2021-12-06 18:27:23 +08:00
dictionary Add topic management 2020-09-29 02:42:36 +08:00
discuzx Add extra info to Tab too. 2021-12-05 00:20:53 +08:00
i18n Add translation code. 2021-12-01 23:44:45 +08:00
object feat: add comments to categorize apis for swagger (#389) 2021-12-06 18:27:23 +08:00
routers Fix AutoSigninFilter. 2021-11-25 13:16:10 +08:00
service Improve error handling for TestSyncAvatars(). 2021-12-02 15:37:57 +08:00
swagger feat: add comments to categorize apis for swagger (#389) 2021-12-06 18:27:23 +08:00
util Add translation code. 2021-12-01 23:44:45 +08:00
web Remove loading indicator. 2021-12-06 10:31:47 +08:00
.gitattributes Detect as Go. 2021-11-25 09:59:43 +08:00
.gitignore Add account API. 2020-06-09 12:22:44 +08:00
Dockerfile Sync Dockerfile with other projects. 2021-10-29 08:15:36 +08:00
LICENSE Initial commit 2020-05-29 10:45:59 +08:00
README.md Use Casdoor to send Email. 2021-09-05 14:24:33 +08:00
Tag_test.go Migrate beego back from v2 to v1. 2021-08-26 00:22:28 +08:00
docker-compose.yml Improve docker-compose.yml 2021-10-28 23:50:26 +08:00
go.mod feat: add comments to categorize apis for swagger (#389) 2021-12-06 18:27:23 +08:00
go.sum feat: add comments to categorize apis for swagger (#389) 2021-12-06 18:27:23 +08:00
main.go Improve proxy code. 2021-09-06 01:19:10 +08:00

README.md

Casnode

Casnode is the official forum for Casbin developers and users.

https://forum.casbin.com/

Architecture

Casnode contains 2 parts:

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

Installation

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

Necessary configuration

Get the code

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

or

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

Setup database

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

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

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

Run casnode

Optional configuration

Setup your forum to enable some third-party login platform

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

OSS, Mail, and SMS services

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

Github corner

We added a Github icon in the upper right corner, linking to your Github repository address. You could set ShowGithubCorner to hidden it.

Configuration:

export const ShowGithubCorner = true

export const GithubRepo = "https://github.com/casbin/casnode" //your github repository