Initial commit: NestJS backend for Child Gold Land
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Server — production cutover uses PORT=3000 (replaces legacy Fastify)
|
||||
PORT=3000
|
||||
HOST=0.0.0.0
|
||||
NODE_ENV=development
|
||||
|
||||
# CORS (Vue dev server)
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
|
||||
# SQLite — production database
|
||||
# DB_PATH=E:/absolute/path/to/backend-nest/data/app.db
|
||||
|
||||
# JWT — must match legacy Fastify when migrating existing tokens
|
||||
JWT_SECRET=gold-land-dev-secret-change-in-production
|
||||
Reference in New Issue
Block a user