Casnode is an open-source forum (BBS) software developed in Go and React, QQ group: 555019739
Go to file
zhangyuqing 2eb06f20fe feat: test 2023-03-06 23:07:43 +08:00
.github fix: fix CI warnings (#560) 2023-01-12 14:46:08 +08:00
casdoor Update casdoor-go-sdk to v0.9.1 2022-09-29 00:37:37 +08:00
conf Set chromeCtxNum to 1 by default. 2022-04-07 09:31:41 +08:00
controllers Update casdoor-go-sdk to v0.9.1 2022-09-29 00:37:37 +08:00
dictionary Add topic management 2020-09-29 02:42:36 +08:00
discuzx Update casdoor-go-sdk to v0.9.1 2022-09-29 00:37:37 +08:00
i18n Improve translation. 2021-12-28 21:43:45 +08:00
object Fix crash in SetUserField() 2023-02-02 21:09:51 +08:00
routers Update casdoor-go-sdk to v0.9.1 2022-09-29 00:37:37 +08:00
service Update casdoor-go-sdk to v0.9.1 2022-09-29 00:37:37 +08:00
swagger feat: add comments to categorize apis for swagger (#389) 2021-12-06 18:27:23 +08:00
util chore(style): fmt code (#534) 2022-08-09 20:10:21 +08:00
web feat: test 2023-03-06 23:07:43 +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
.releaserc.json fix: add semantic release (#468) 2022-04-07 14:18:00 +08:00
Dockerfile update https://registry.npm.taobao.org to https://registry.npmmirror.com (#411) 2022-02-12 11:50:19 +08:00
LICENSE Initial commit 2020-05-29 10:45:59 +08:00
README.md Improve README. 2021-12-28 21:17:37 +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 Update casdoor-go-sdk to v0.10.0 2022-10-07 20:46:37 +08:00
go.sum Update casdoor-go-sdk to v0.10.0 2022-10-07 20:46:37 +08:00
main.go chore(style): fmt code (#534) 2022-08-09 20:10:21 +08:00

README.md

📦 Casnode

An open-source forum (BBS) software developed by Go and React.

semantic-release docker pull casbin/casnode GitHub Workflow Status (branch) GitHub Release Docker Image Version (latest semver)

Go Report Card license GitHub issues GitHub stars GitHub forks Crowdin

Online demo

Deployed site: 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/casdoor/casdoor

or

git clone https://github.com/casbin/casnode
git clone https://github.com/casdoor/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