SamoilenkoVadym
8a83067695
feat: complete sprints 4.3, 5, 6 - n8n integration, admin panel, production prep
Sprint 4.3: n8n Integration
- Add n8n connection service with API key encryption
- Create settings page for n8n connection
- Implement deploy workflow to user's n8n instance
- Add My Workflows page to manage n8n workflows
Sprint 5: Admin Panel
- Create admin dashboard with system stats
- Add user management (credits, ban/unban)
- Implement template moderation
- Add payment history view
- Restrict admin routes with middleware
Sprint 6: Production Readiness
- Add environment variable validation
- Implement rate limiting with Redis
- Add security headers with Helmet
- Create health check endpoints (/health/live, /health/ready)
- Add structured error handling
- Improve logging throughout app
- Add Docker production configs
Fixes:
- Fix auth middleware TypeScript errors
- Add comprehensive debug logging
- Update docker-compose with all required env vars
- Apply exact Figma color palette (#243037, #FF8B05, #075D56)
- Fix login/signup pages contrast
- Remove all gradients