Creavings — Creative Marketplace
Creavings is a full-stack marketplace platform for creative content and digital goods. Built on AWS serverless architecture using SST, it features multiple web applications, a comprehensive API layer, and integrated payment processing.
Architecture
The project is structured as a monorepo with clear separation between infrastructure stacks, shared packages, and applications:
Infrastructure Stacks
- API Stack — REST API with Lambda functions, cron-based maintenance jobs
- DynamoDB Stack — Single-table design with ElectroDB for all data models
- Cognito Stack — User authentication and identity management
- Frontend Stack — Next.js main webapp + React SPA admin panel (“Space Station”), deployed via CloudFront
- Bucket Stack — S3 storage for media and digital goods
- SES Stack — Transactional email with custom HTML templates
- Secrets & Parameters — Centralized configuration management
Applications
- Main Webapp — Next.js marketplace with product discovery, creator storefronts, and checkout flows. Built with Tailwind CSS, React Query, and Zustand for state management
- Space Station — React SPA admin dashboard for creators and platform operators, built with React Router and Vite
- API — Lambda-backed REST API with versioned endpoints, integrated with Stripe and Mollie for payments, PDF generation for invoices
Shared Packages
core— Shared business logic and type definitionscommon— Cross-cutting utilitiesfunctions— Shared Lambda function handlersskit/skit-models/skit-dwas— Content modeling and data access layers
Key Features
- Dual Payment Processing — Stripe and Mollie integration for flexible payment methods across regions
- Multi-tenant Storefronts — Creator-branded storefronts with custom domains
- PDF Invoice Generation — Automated invoice creation using pdf-lib
- Email Templates — Custom SES email templates for transactional communications
- CI/CD Pipeline — Dedicated deployment pipeline stack for staged rollouts (dev → stage → prod)
Tech Stack
Built entirely on AWS serverless with SST orchestrating all infrastructure. DynamoDB with ElectroDB provides a type-safe, expressive single-table design. The frontend uses Next.js with styled-components and Tailwind CSS, with React Query for server state management.