- NestJS backend with JWT auth, Prisma ORM, Swagger docs - Vite + React 19 frontend with TypeScript - Tailwind CSS v4 with custom dark theme design system - Auth module: Login, Register, Protected routes - Campaigns module: CRUD, Member management - Full Prisma schema for PF2e campaign management - Docker Compose for PostgreSQL Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
508 B
Plaintext
23 lines
508 B
Plaintext
# Dimension47 Server Environment Variables
|
|
|
|
# Database (PostgreSQL)
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/dimension47?schema=public"
|
|
|
|
# JWT Authentication
|
|
JWT_SECRET="change-this-to-a-secure-random-string"
|
|
JWT_EXPIRES_IN="7d"
|
|
|
|
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV=development
|
|
|
|
# CORS Origins (comma separated)
|
|
CORS_ORIGINS="http://localhost:3000,http://localhost:5173"
|
|
|
|
# Claude API (for translations)
|
|
CLAUDE_API_KEY=""
|
|
|
|
# File Upload
|
|
UPLOAD_DIR="./uploads"
|
|
MAX_FILE_SIZE=10485760
|