masterplan
EI Mastery App Masterplan.md
π Overview
The EI Mastery App is a scalable emotional intelligence (EI) learning platform designed to help individuals and organizations grow their emotional capabilities through assessments, personalized learning, and actionable daily practices. Built around Jim Reesβ authentic 16-scale JCA Global EI framework, it combines scientifically validated tools with modern, user-centric digital experiences.
π― Purpose
The appβs ultimate purpose is to transform self-awareness into actionable growth by:
- Offering comprehensive assessments.
- Delivering personalized, structured learning journeys.
- Building lasting emotional habits through daily reflection, mood tracking, and goal-setting.
- Supporting individual and professional development across diverse user groups.
πΊοΈ Target Audience
- Individuals seeking personal growth
- Coaches/Practitioners managing client EI journeys
- Organizations investing in team emotional intelligence
- Educational Institutions embedding EI in curriculum
π Core Features & Functionality
π Authentication & Identity
- Guest/Visitor: Mini-assessment, sample content.
- Registered Free User: Full assessment, basic modules.
- Premium User: Advanced modules, analytics, PDF reports.
- Coach/Practitioner: Client management, bulk assessments.
- Admin: Content management, analytics, user support.
π EI Assessment System
- 64-question comprehensive assessment.
- 16 authentic JCA Global scales.
- PDF report generation.
- Progress saving for incomplete assessments.
π Personalized Learning Modules
- 16 modules with 6 lessons each (96 total).
- Interactive exercises and scenarios.
- Adaptive content delivery based on EI scores.
π Personal Development Tools
- Journaling with structured templates.
- Goal handprints (objective setting and tracking).
- Mood tracking tied to EI scales.
πΊ Content Integration
- Podcasts, videos, and motivational content from Jim Rees.
- Resource library with public and premium materials.
π Analytics & Progress
- User dashboards with progress visualization.
- Admin dashboards for content and user analytics.
π§βπ» Technical Overview
Frontend
- React 18 + TypeScript + Tailwind CSS (mobile responsive)
- shadcn/ui components for consistent design
- Planned support for React Native (future native app)
Backend
- Node.js + Express.js REST API
- PostgreSQL with Drizzle ORM
- Redis for session management (future scalability)
Hosting & Infrastructure
- MVP: Replit hosting
- Planned: GitHub > Vercel frontend + Fly.io backend
- Cloudflare CDN for global delivery
Content Management
- Hybrid model:
- Hard-coded for core EI logic.
- Database-driven for structured lessons.
- Admin panel for dynamic content (blog, videos, emails).
π¦ Development Phases
Phase 1: Migration & Stabilization
- Move Replit codebase to GitHub.
- Connect GitHub with Cursor for code analysis.
- Stabilize core features: auth, assessment, lessons.
Phase 2: PRD-Driven Rebuild
- Refactor code for modularity and scalability.
- Implement admin panel for content management.
- Deploy improved recommendation engine.
Phase 3: Advanced Features
- Native app support (React Native).
- Smartwatch & voice device integrations.
- AI-powered personalized insights.
Phase 4: Enterprise Readiness
- Multi-tenant architecture.
- SSO & OAuth for enterprise clients.
- Custom branding for organizations.
π Documentation
- API: Swagger/OpenAPI specs
- Database schema diagrams
- Content management guide for VAs/admins
- Deployment & staging procedures
β οΈ Risks & Mitigations
| Risk | Mitigation |
|---|---|
| Hard-coded assessment algorithms | Refactor to modular scoring engine |
| Session store scalability (PostgreSQL) | Migrate to Redis for sessions |
| Content versioning absent | Implement version control system |
| Legacy architecture constraints (Replit) | Full GitHub migration, Cursor refactor |
π Futureproofing
- Modular plugin-based architecture.
- State machines for user journey management.
- Flexible content delivery for multiple learning methodologies.
- API-first design for integration with external tools.
π Next Steps
- Complete GitHub migration.
- Enable Cursor analysis of current codebase.
- Refine PRD with Jimβs strategic inputs.
- Begin modular rebuild aligned with masterplan.