How therealbill91/social_media_app works
Main Components
A. Frontend Layer:
• Client Application (Remix + TypeScript)
• UI Components
• Route Handlers
• Authentication Flow
• State Management
• API Integration
B. Backend Layer:
• ASP.NET Core API
• Controllers
• Services
• Data Access Layer
• Authentication/Authorization
• Email Service
C. External Services:
• Cloudflare Pages (Hosting/CDN)
• Email Service Provider
• External Authentication Providers
┌─ Frontend (Remix + TypeScript) ─────────────────┐
• UI Components (TailwindCSS) │
• Route Handlers │
• Authentication Flow │
• Form Handling (Conform) │
• ┘
┌─ Backend (ASP.NET Core) ──────────────────────┐
• Controllers │
• Auth │
• Posts │
• Comments │
• Friends │
• Profiles │
• Services │
• Authentication │
• Email │
• User Management │
• Content Management │
• Middleware │
• Rate Limiting │
• ┘
┌─ Data Layer ────────────────────────────────┐
• Entity Framework Core │
• Models │
• Member │
• Post │
• Comment │
• Friendship │
• Profile │
• Migrations │
• ┘
Connection Flows
• User requests → Frontend → Backend API
• API → Services → Data Layer
• Authentication flows
• External service interactions
Notes for Implementation
• Clear separation between frontend routes and backend controllers
• Security boundaries around authentication
• Where rate limiting occurs
• Email service integration points
• Demonstrate the social features (friends, posts, comments) flow
Deployment View
• Cloudflare Pages hosting
• API hosting
• Database hosting
• CDN distribution
Remember to maintain a balance between detail and clarity, focusing on the unique aspects of this social media platform, particularly its anti-doom scrolling features and social interaction components.