Production SaaS built with Phoenix LiveView. OAuth authentication, Stripe subscription management, background job processing, and API auth caching. Live, serving users.
Stripe integration handles the full subscription lifecycle: signup, plan changes, cancellation with grace periods, and automated data purge workflows. Webhooks are signature-verified with graceful downgrade flows on payment failure.
Background jobs run through Oban with retry strategies for transactional email delivery, analytics tracking, and scheduled maintenance tasks. A custom Scaleway email adapter was built from scratch for Swoosh with the Finch HTTP client.
API authentication uses an ETS-based cache with plan-aware TTLs, health monitoring, and automatic invalidation. Sub-100ms lookups with per-key rate limiting and origin locking.
Security audit logging tracks OAuth flows, failed login attempts, account lockouts, and IP addresses. Dockerised and deployed to VPS.