# IndeeHub Architecture — Legacy vs Decentralized **Full comparison with summary of changes and pros/cons:** [docs/ARCHITECTURE.html](docs/ARCHITECTURE.html) Open the HTML file in a browser for the complete architecture document. ## Quick Reference | Layer | Legacy | Current | | :---------- | :------------------------------ | :------------------------- | | Auth | Cognito | Nostr (NIP-07, 46, 98) | | Payments | Stripe | BTCPay (Lightning) | | Storage | AWS S3 / CloudFront | MinIO | | Database | PostgreSQL (RDS) | PostgreSQL | | Queue | — | Redis + BullMQ | | Relay | External | Self-hosted nostr-rs-relay | | Deployment | AWS ECS | Docker / Portainer | | Frontend | React | Vue 3 + Vite | | Backend | NestJS | NestJS | | Encryption | BuyDRM/KeyOS (Widevine/FairPlay) | AES-128 HLS | | Transcoding | External API (ECS) | FFmpeg + MinIO |