Files
Dimension-47/server/.env.example
Alexander Zielonka 55419d3896 feat: Complete character system, animated login, WebSocket sync
Character System:
- Inventory system with 5,482 equipment items
- Feats tab with categories and details
- Actions tab with 99 PF2e actions
- Item detail modal with equipment info
- Feat detail modal with descriptions
- Edit character modal with image cropping

Auth & UI:
- Animated login screen with splash → form transition
- Letter-by-letter "DIMENSION 47" animation
- Starfield background with floating orbs
- Logo tap glow effect
- "Remember me" functionality (localStorage/sessionStorage)

Real-time Sync:
- WebSocket gateway for character updates
- Live sync for HP, conditions, inventory, equipment status, money, level

Database:
- Added credits field to characters
- Added custom fields for items
- Added feat fields and relations
- Included full database backup

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:36:29 +01:00

23 lines
511 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)
ANTHROPIC_API_KEY=""
# File Upload
UPLOAD_DIR="./uploads"
MAX_FILE_SIZE=10485760