The brief
CardDeckr needed a platform that could sell trading card products, manage subscription tiers, and give administrators full control over inventory, orders, and customer accounts, all from a single codebase.
Fernside Studio designed and built the entire system: a storefront with Stripe checkout, a subscription billing engine, an admin dashboard, and a PostgreSQL database spanning 66 tables, all backed by over 6,900 automated tests.
The challenge
Building a commerce platform that handles both one-off product sales and recurring subscriptions is architecturally complex. CardDeckr needed to support multiple revenue models without bolting separate systems together:
- Product shop with inventory management, variants, and Stripe checkout
- Subscription billing with tiered plans, upgrades, and cancellations via Stripe Billing
- Admin dashboard for managing products, orders, customers, and platform settings
- Database architecture that scales across 22 card games without duplicating schemas
- Comprehensive test coverage to protect payment flows and data integrity
- Customer portal for managing subscriptions, order history, and account settings
What we built
Fernside Studio engineered CardDeckr as a unified platform where one codebase handles the storefront, subscriptions, and administration with a shared PostgreSQL database.
Product shop & checkout
A browsable storefront with product listings, search, filtering, and a Stripe-powered checkout flow handling one-off purchases with automatic inventory updates.
Subscription billing
Stripe Billing integration with tiered subscription plans, automatic renewals, upgrade/downgrade flows, and a customer portal for self-service management.
Admin dashboard
A full administration interface for managing products, processing orders, viewing customer accounts, and configuring platform settings. No direct database access needed.
Database architecture
A 66-table PostgreSQL schema designed in Supabase, supporting products, orders, subscriptions, user accounts, and game-specific data across 22 card games.
Test suite
Over 6,900 automated tests covering API endpoints, payment flows, subscription lifecycle, and data integrity, so every deployment is safe to ship.
The results
CardDeckr launched as a production-ready platform with the architecture and test coverage to support ongoing feature development confidently.
- Payments from day one and growing ever since
- Unified commerce platform handling both one-off sales and recurring subscriptions
- Stripe integration covering checkout, billing, customer portals, and webhook handling
- Admin dashboard providing full operational control without developer intervention
- 66-table database architecture designed for multi-game scalability
- Comprehensive test suite protecting payment flows and data integrity across deployments
- Subscription lifecycle management including upgrades, downgrades, and cancellations
Technology used
"CardDeckr is the largest custom build in our portfolio. 66 database tables, 197 API endpoints, and 6,900+ tests backing a platform that handles products, subscriptions, and administration from a single codebase."
Need a platform this ambitious?
Whether you're building an e-commerce store, a SaaS product, or a hybrid of both, we design, build, and test it from scratch.