The Sunday Studio
A two brand e-commerce platform built end to end in Lovable, from a single detached landing page into a fully standalone application with its own admin system, payment infrastructure, and marketing tooling. Delivered for a client under New Code, Lda.
Overview
The Sunday Studio runs two connected brands from one platform. Sunday Morning sells digital seamless pattern downloads, individual colorways, collection bundles, full pattern bundles, and PSD master files, under a tiered licensing system. The Sunday Edit turns those same patterns into physical homeware, printed on demand and fulfilled automatically through Printify. Both brands share one data model, one admin system, and one checkout, while remaining distinct storefronts to the customer.
Stack
Lovable for the frontend and application layer, Supabase for the database and authentication with Row Level Security, Stripe for payments and subscriptions including Stripe Tax for automatic VAT and sales tax, Resend for transactional email, a custom Printify API integration built from scratch since no native connector existed, an AI gateway used for tag suggestions, upload matching, shipping rate extraction, and copy editing, and Frankfurter.dev for exchange rate reference.
Sunday Morning, the digital product system
The catalog runs on a Patterns to Collections to Colorways hierarchy, with a flexible colorway_colors table that supports a variable number of accent hex codes per colorway, since different patterns carry different numbers of color elements. Pricing covers flat per colorway sales with an automatically included commercial license, collection and full pattern bundles, standalone PSD master files, and a custom colorway commission flow where a customer submits their own hex codes, receives a manually fulfilled file, and that file is then published automatically for future sale.
On top of that sits a nine tier subscription system, three license levels at three download volumes each, billed monthly or annually, with a lapse policy that reverts license rights on cancellation or a failed payment without deleting the customer's existing files. A perceptual matching engine, built on Lab color space, recommends visually similar colorways across the catalog. Every public preview image is watermarked automatically, while admin views and the product configurator serve clean files.
Admin tooling includes full CRUD for patterns, colorways, and collections with inline editing, an Excel based bulk colorway import with AI assisted collection matching, bulk file upload matched to reference codes, a seamless tiling validator, and a Pinterest content kit generator with live pin preview and batch CSV export.
The Sunday Edit, the physical product system
Two fulfillment paths run in parallel. A configurator lets customers hand position a pattern on a product, with drag to place repeat, transparent background detection, and shadow overlay blending for a realistic texture. A bulk import path treats every colorway as a real Printify product, matched automatically by reference code and fulfilled through the Printify Orders API without a manual step.
Shipping runs on a custom engine that calls the live Printify shipping API at checkout as the source of truth, falls back to manual rate tables when needed, and uses an AI tool to read Printify's own screenshot rate tables into an editable pricing grid, correctly handling shipping discount logic that varies by supplier, product, and size. Customers can track orders through a full status pipeline, and a dispute logging tool handles customs related VAT issues.
Payments, tax, and compliance
Stripe Tax is wired for both brands, with correct tax codes per product type across digital goods, subscriptions, and physical goods, destination based VAT handled without manual threshold logic for Sunday Morning, and split checkout sessions per supplier for Sunday Edit carts that span multiple print providers. Legal pages are GDPR and RGPD compliant, with a non-refundable digital goods policy and an explicit withdrawal right waiver at checkout. A certified invoicing workaround was built around Portugal's certified software requirement, a daily export feeds the client's own certified invoicing system, and the resulting PDF attaches back to the order automatically.
The platform went fully live on real Stripe payments, including a later audit that caught a live tax registration gap, VAT was only being collected in one EU country instead of all of them, before it created real financial exposure.
Admin, security, and internal tooling
A reorganized, fully responsive admin dashboard covers both brands, orders, marketing, and settings in one place. A branded newsletter composer includes a rich text editor, a locked brand color palette, a live preview that matches the exact sent email, and an AI assisted polish feature that improves draft copy while preserving the founder's voice. A password gated coming soon mode runs app-wide with a live countdown, so no direct link can bypass it before launch. A proactive security review closed three Row Level Security gaps involving guest order and purchase records, before the platform opened to real customers.
What this shows
Full ownership of a two sided e-commerce platform, from data modeling through checkout, tax compliance, fulfillment automation, and post-launch security hardening, for a real business now taking live payments.
Visit the live site