How inovector/mixpost works
Main System Components
a) Frontend Layer:
• Vue.js based SPA (resources/js directory)
• Component structure (organized in resources/js/Components)
• Pages and layouts (resources/js/Pages, resources/js/Layouts)
b) Backend Layer:
• Laravel-based API (src directory)
• Controllers (src/Http/Controllers)
• Models (src/Models)
• Services (src/Services)
• Social Providers (src/SocialProviders)
c) External Integrations:
• Social Media Platforms (Facebook, Twitter, Mastodon)
• Media Services (Unsplash, Tenor)
• Storage Systems
Key Architectural Patterns
a) Service-Based Architecture:
• ServiceManager for handling different services
• SocialProviderManager for social media integrations
• Settings management system
b) Job Processing System:
• Queue-based processing for social media operations
• Scheduled tasks and commands
• Media processing pipelines
c) Data Flow Patterns:
• Authentication flow
• Post creation and scheduling flow
• Media management flow
• Analytics and reporting flow
┌─ Client Layer ─────────────────────┐
• Vue.js Components │
• State Management │
• UI/UX Components │
• API Layer ──────────────────────┤
• Controllers │
• Resources │
• Middleware │
• Service Layer ───────────────────┤
• Social Providers │
• Media Services │
• Job Processing │
• Data Layer ─────────────────────┤
• Models │
• Database │
• Cache │
• ┘
Important Relationships
• Authentication flow between components
• Data flow for post creation and scheduling
• Media processing pipeline
• Integration points with social media platforms
• Queue and job processing flow
• Cache and storage interactions