✨ Major Features Added: - Complete magical theming and rebranding from LifeRPG to The Wizard's Grimoire - Production-grade React frontend with Tailwind CSS v4 and magical aesthetics - Comprehensive analytics dashboard with Recharts integration (ScryingPortal) - Push notifications system with PWA service worker support - Drag & drop functionality using @dnd-kit for habit reordering - Social features with friends system and leaderboards - Performance optimization tools and monitoring - Mobile app enhancement with PWA installation support 🏗️ Technical Infrastructure: - Advanced service worker with offline support and background sync - Zustand state management for scalable application state - Production-ready UI component system with enhanced Button, Card, Input - Progressive Web App (PWA) with manifest and app installation - FastAPI backend with comprehensive API endpoints - Docker containerization and CI/CD pipeline setup 📱 Progressive Web App Features: - Offline functionality with intelligent caching - Push notification support for habit reminders - App installation on mobile and desktop platforms - Background sync for offline data management - Performance monitoring and optimization tools 🎨 User Experience: - Magical wizard/grimoire theming throughout application - Responsive design optimized for all device sizes - Drag & drop habit management with smooth animations - Interactive analytics with multiple chart types - Social connectivity with friends and competitive features - Comprehensive notification and performance settings 🔧 Developer Experience: - Modern development stack with Vite and React - Comprehensive testing setup and CI/CD pipelines - Code quality tools with pre-commit hooks - Docker development environment - Detailed documentation and implementation guides This represents a complete transformation from prototype to production-ready application with enterprise-grade features and magical user experience.
67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
version: '3.8'
|
|
services:
|
|
db:
|
|
image: postgres:16
|
|
environment:
|
|
POSTGRES_USER: liferpg
|
|
POSTGRES_PASSWORD: liferpg
|
|
POSTGRES_DB: liferpg
|
|
ports:
|
|
- "5432:5432"
|
|
healthcheck:
|
|
test: ["CMD", "bash", "-lc", "cat < /dev/tcp/127.0.0.1/5432"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
ports:
|
|
- "6379:6379"
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 10
|
|
|
|
backend:
|
|
build:
|
|
context: ..
|
|
dockerfile: modern/backend/Dockerfile
|
|
environment:
|
|
DATABASE_URL: postgresql+psycopg2://liferpg:liferpg@db:5432/liferpg
|
|
FRONTEND_ORIGIN: http://localhost:5173
|
|
CSRF_ENABLE: "true"
|
|
COOKIE_SECURE: "false"
|
|
COOKIE_SAMESITE: lax
|
|
REDIS_URL: redis://redis:6379/0
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_started
|
|
ports:
|
|
- "8000:8000"
|
|
|
|
worker:
|
|
build:
|
|
context: ..
|
|
dockerfile: modern/backend/Dockerfile
|
|
environment:
|
|
DATABASE_URL: postgresql+psycopg2://liferpg:liferpg@db:5432/liferpg
|
|
REDIS_URL: redis://redis:6379/0
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
command: ["bash","-lc","rq worker -u $REDIS_URL default"]
|
|
|
|
frontend:
|
|
build:
|
|
context: ..
|
|
|
|
dockerfile: modern/frontend/Dockerfile
|
|
ports:
|
|
- "5173:5173"
|