Cadre
Cadre Coffee is a specialty coffee subscription platform that goes beyond standard subscription models. The system supports flexible billing intervals tailored to how customers actually consume coffee, integrates with Stripe for reliable payment processing, and connects to Shopify for seamless order fulfillment. The customer portal empowers subscribers to manage their own deliveries - pausing for holidays, skipping shipments, or swapping plans - without contacting support.
15+
API Routes
Subscription management, webhooks, and cron endpoints
Custom
Billing Flexibility
Any interval from 3-day to monthly cycles
3
Integrations
Stripe, Shopify, and Supabase working together
Technical Architecture
Next.js application with Drizzle ORM for PostgreSQL, Stripe for subscription billing, Shopify for e-commerce fulfillment, and Supabase for authentication. Vercel Cron jobs handle background processing for renewals and scheduled actions.
Technical Details
Frontend
Framework: Next.js 16 with React 19
State Management: Server Components + React Hooks
Styling: TailwindCSS 4 with Radix UI primitives
Notable Features
- Customer subscription dashboard
- Real-time billing date calculations
- Subscription preference management
- GSAP and Framer Motion animations
- Mobile-first responsive design
Backend
Framework: Next.js API Routes
Database: PostgreSQL with Drizzle ORM
API: REST API + Stripe Webhooks
Notable Features
- Idempotent webhook processing
- Event-sourcing audit trail
- Scheduled action queue
- Stripe-to-Shopify order sync
- Timezone-aware date logic
Infrastructure
Hosting: Vercel
Deployment: Vercel CI/CD with Turbopack
Monitoring: Vercel Analytics
Notable Features
- Cron jobs for background tasks
- Edge runtime support
- Environment variable validation
- Database migrations with Drizzle Kit
Team & Role
Team Information
Team Size: Small team
Role: Full Stack Developer
Responsibilities
- Subscription system architecture
- Stripe integration and webhook handling
- Shopify fulfillment integration
- Customer portal development
- Database schema design
- Background job implementation