后端 Go+Gin:认证/CSRF/限流、板块、帖子、评论、点赞、通知、用户资料、置顶推荐;前端 Next.js 16:发帖/编辑/删除、搜索、分页、点赞、通知中心、设置;基础设施 docker-compose 与配置模板;添加 .gitignore 与专有许可证(保留所有权利)
17 lines
341 B
Plaintext
17 lines
341 B
Plaintext
[server]
|
||
HTTP_PORT = 3001
|
||
|
||
[database]
|
||
; PostgreSQL 连接串(部署时请修改账号密码)
|
||
DSN = postgres://postgres:postgres@localhost:5432/jiang13?sslmode=disable
|
||
|
||
[security]
|
||
; 留空则自动生成并持久化到 data/.jwt_secret;生产环境务必显式指定强随机值
|
||
JWT_SECRET =
|
||
|
||
[paths]
|
||
DATA = data
|
||
|
||
[app]
|
||
DEV_MODE = true
|