Tech Stack
Every library used in Creator and why it's included.
Framework
- Next.js — React framework with App Router, server components, and API routes. Handles routing, rendering, and deployment.
- Tailwind CSS — Utility-first CSS framework (v4) with CSS-first configuration. All styles are defined using utility classes and OKLCH color variables.
- shadcn/ui — Pre-built, accessible UI components based on Radix primitives. Uses the New York style with a neutral base color. Components live in
components/ui/.
Database
- Drizzle ORM — Type-safe ORM for PostgreSQL. Defines the schema in TypeScript, generates SQL migrations, and provides a query builder. Schema at
lib/db/schema.ts.
Authentication
- Auth.js (NextAuth v5) — Authentication framework with JWT sessions. Supports credentials (email/password), Google OAuth, and GitHub OAuth. Config at
lib/auth/config.ts.
Payments
- Stripe — Payment processing for subscriptions and one-time purchases. Handles checkout sessions, customer portals, and webhooks.
- Lemon Squeezy — Alternative payment gateway using the REST API directly (no SDK). Handles checkout overlays and webhooks.
- Resend — Transactional email API. Used for verification emails, password resets, and notifications.
- Mailgun — Alternative email provider. Same factory pattern — swap by changing
NEXT_PUBLIC_EMAIL_SERVICE.
Storage
- Cloudflare R2 — S3-compatible object storage for file uploads (avatars, assets). Accessed via the AWS S3 SDK.
- Supabase Storage — Alternative file storage provider. Swap by changing
NEXT_PUBLIC_STORAGE_SERVICE.
Monitoring
- Sentry — Error tracking and performance monitoring. Captures server, client, and edge runtime errors automatically.