- 配置 pnpm workspace + Turborepo - 创建 Next.js 15 前端应用 (apps/web) - 创建 NestJS 10 后端应用 (apps/api) - 集成 Prisma ORM + Swagger + JWT 认证 - 添加共享包 (packages/shared, eslint-config, typescript-config) - 添加项目文档 (README, CLAUDE.md, docs/design.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
11 lines
184 B
Plaintext
11 lines
184 B
Plaintext
# 数据库配置
|
|
DATABASE_URL="file:./dev.db"
|
|
|
|
# JWT 配置
|
|
JWT_SECRET="your-super-secret-key-change-in-production"
|
|
JWT_EXPIRES_IN="7d"
|
|
|
|
# 应用配置
|
|
PORT=4000
|
|
NODE_ENV=development
|