首次提交:姜十三论坛
后端 Go+Gin:认证/CSRF/限流、板块、帖子、评论、点赞、通知、用户资料、置顶推荐;前端 Next.js 16:发帖/编辑/删除、搜索、分页、点赞、通知中心、设置;基础设施 docker-compose 与配置模板;添加 .gitignore 与专有许可证(保留所有权利)
This commit is contained in:
53
.gitignore
vendored
Normal file
53
.gitignore
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
# ===== 依赖目录 =====
|
||||
node_modules/
|
||||
frontend/node_modules/
|
||||
|
||||
# ===== Next.js 构建产物 =====
|
||||
.next/
|
||||
out/
|
||||
.vercel/
|
||||
*.tsbuildinfo
|
||||
next-debug.log*
|
||||
|
||||
# ===== Go 构建产物 =====
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
*.test
|
||||
*.out
|
||||
/backend/jiang13
|
||||
/backend/jiang13.exe
|
||||
|
||||
# ===== 本地配置与运行时数据(含密钥,禁止提交) =====
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
backend/app.ini
|
||||
backend/data/
|
||||
*.pem
|
||||
*.key
|
||||
|
||||
# ===== 日志 =====
|
||||
*.log
|
||||
logs/
|
||||
|
||||
# ===== 测试与覆盖率 =====
|
||||
coverage/
|
||||
.nyc_output/
|
||||
|
||||
# ===== IDE / 编辑器 =====
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# ===== 操作系统 =====
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
desktop.ini
|
||||
|
||||
# ===== Trae 工具内部目录 =====
|
||||
.trae/
|
||||
Reference in New Issue
Block a user