首次提交:姜十三论坛

后端 Go+Gin:认证/CSRF/限流、板块、帖子、评论、点赞、通知、用户资料、置顶推荐;前端 Next.js 16:发帖/编辑/删除、搜索、分页、点赞、通知中心、设置;基础设施 docker-compose 与配置模板;添加 .gitignore 与专有许可证(保留所有权利)
This commit is contained in:
2026-09-12 01:11:05 +08:00
commit 0c2b0d2d6a
62 changed files with 8289 additions and 0 deletions

14
.env.example Normal file
View File

@@ -0,0 +1,14 @@
# jiang13-bbs 环境变量示例
# 复制为 .env 并修改
# PostgreSQL 连接串
DB_DSN=postgres://postgres:postgres@localhost:5432/jiang13?sslmode=disable
# JWT 签名密钥(生产环境务必修改)
JWT_SECRET=your-jwt-secret-change-me
# 服务端口
HTTP_PORT=3001
# 开发模式
DEV_MODE=true