Ecosystem Overview
The Toto ecosystem consists of multiple interconnected projects, each serving specific purposes while maintaining a clean architecture and unified technology stack.
π Integration Guide: For detailed integration patterns and cross-project communication, see Ecosystem Integration Guide.
π Core Projectsβ
| Project | Purpose | Technology | URL |
|---|---|---|---|
| toto-app | Main application | Next.js + API Routes + App Hosting | https://app.betoto.pet |
| toto-bo | Backoffice management | Next.js + API Routes + App Hosting | https://bo.betoto.pet |
| toto-ai-hub | AI-powered assistance | Multi-agent AI system | Integrated with main app |
| toto-wallet | Payment processing | React + Stellar blockchain | Standalone component |
π Architecture Highlightsβ
Clean Architecture Implementationβ
- Separation of Concerns: Core data in main app, backoffice-specific data locally
- API-First Design: All data access through well-defined APIs
- Unified Technology Stack: Next.js API Routes + App Hosting across all projects
- Security by Design: JWT + Session-based authentication with role-based access
Technology Stackβ
- Frontend: Next.js with TypeScript
- Backend: Next.js API Routes (current implementation)
- Deployment: Firebase App Hosting
- Database: Firestore with security rules
- Authentication: Firebase Auth + NextAuth.js
- AI: Multi-agent AI system (toto-ai-hub)
- Payments: Stellar blockchain integration (toto-wallet)
π Integration Featuresβ
Cross-Project Communicationβ
- API Integration: RESTful APIs for data exchange
- Authentication: Cross-project token sharing
- Real-time Updates: Firestore listeners for live data
- Event-Driven Architecture: Event bus for component communication
Data Architectureβ
- Main App (toto-f9d2f): Core business data (cases, users, donations)
- Backoffice (toto-bo): Administrative data (audit logs, analytics)
- Shared Knowledge Base: Centralized KB in toto-bo for all environments
Security & Accessβ
- Role-Based Access Control: Permission-based data access
- Cross-Project Authentication: JWT token validation across projects
- Isolated Projects: Separate Firebase projects for security
π Documentationβ
- Ecosystem Integration - Integration patterns and architecture
π Key Featuresβ
Main Applicationβ
- β Interactive pet rescue feed
- β Secure donation system
- β Guardian tools in backoffice
- β Social sharing integration
- β Real-time updates and notifications
- β Role-based access control
Backofficeβ
- β Comprehensive backoffice dashboard
- β Analytics and reporting
- β User management
- β Payment processing
- β AI agent analysis
- β Audit logging
AI Agent Systemβ
- β Multi-agent architecture
- β Conversational AI
- β Intelligent recommendations
- β Case assistance
- β User support automation
Wallet Systemβ
- β Blockchain integration
- β Secure payment processing
- β Component library
- β Balance management
π Quick Navigationβ
For Usersβ
- User Guide - Complete user manual
- Main App Guide - Core application features
- Backoffice Guide - Administrative interface
For Developersβ
- Architecture Overview - System design
- API Reference - Complete API documentation
- Development Guide - Development setup
For DevOpsβ
- Deployment Guide - Production deployment
- Configuration Guide - Environment setup