-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Josh McLain edited this page Jun 20, 2025
·
5 revisions
Welcome to the Mystical Realms documentation! This wiki is your guide to the architecture, design, development, and best practices for building and contributing to the Mystical Realms Tarot & Astrology platform.
Below you'll find a summary and table of contents for all major documentation pages.
-
- Overview of the frontend, backend, database, and deployment stack.
- High-level architecture diagram with Mermaid diagrams.
- Sprint-by-sprint implementation roadmap for the MVP.
- Deployment strategy and monitoring considerations.
-
- Step-by-step breakdown of each sprint (8 sprints total).
- Granular tasks for systematically building the MVP.
- Foundation β Auth β Core Features β Polish progression.
- Guidance for team planning and progress tracking.
-
- Enhanced: Comprehensive Supabase PostgreSQL schema documentation.
- 19 core tables with relationships, constraints, and indexing.
- Row Level Security (RLS) policies and performance optimizations.
- Advanced usage patterns, maintenance utilities, and health checks.
-
Database Implementation Summary
- New: Complete implementation status and validation report.
- Migration file structure and deployment commands.
- Production readiness assessment with enterprise-grade features.
- Usage examples and performance benchmarks.
-
- New: Schema completeness and quality analysis.
- Security implementation verification.
- Performance optimization validation.
- Future enhancement recommendations.
-
- Modular, layered, API-first architecture guidelines.
- Frontend (Next.js) and backend (Python) folder structure.
- Code organization, testing, and security best practices.
- Layer responsibilities and design patterns.
-
- Visual design principles for a mystical, immersive UI.
- Theme palettes, font pairings, and iconography standards.
- Guidance for consistent, accessible, and engaging visuals.
-
- Comprehensive testing strategy for frontend and backend.
- Jest, Playwright, and Pytest configurations.
- Unit, integration, and E2E testing approaches.
- 4-phase testing roadmap implementation.
-
- New: Content architecture with MDX and Contentlayer.
- Blog, knowledge base, and tutorial template structures.
- SEO optimization and performance considerations.
- Content management workflow and editorial process.
-
- New: Complete site architecture and navigation patterns.
- Public and authenticated user journey flows.
- SEO metadata configuration and analytics tracking.
- Critical user experience pathways.
- New to the project? Start with the Tech Stack & Roadmap and House Rules.
- Database work? See the Complete Database Schema and Implementation Summary.
- Developers: Reference the Testing Setup and Client Scaffolding for implementation details.
- Content creators: Check out MDX Templates for blog and knowledge base content.
- Designers: See Design Principles and Public Pages Layout for UI/UX guidance.
- Security Policy - Comprehensive security guidelines and vulnerability reporting
- Database Security - RLS policies and access control
- Workspace Structure - Monorepo organization and setup
- Contributing Guidelines - Development workflow and standards
- Supabase Utilities - Environment validation and client setup
- Migration Files - Database schema evolution
Please read the House Rules and Testing Setup before submitting changes. Our architecture emphasizes:
- Modularity: Feature-first organization with clear separation of concerns
- Type Safety: Strict TypeScript and Pydantic model enforcement
- Test-Driven Development: Comprehensive test coverage across all layers
- Documentation: Living documentation that evolves with the codebase
- Security: Enterprise-grade security practices and RLS policies
Consistency and modularity are key to maintaining this complex, feature-rich platform!