Multi-Country Coupon Marketplace Built from Scratch

Multi-Country Coupon Marketplace Built from Scratch

We built a multi-country coupon marketplace end to end: one editorial platform that powers consumer coupon portals across multiple languages and currencies, with the content, merchandising, and quality workflows the editorial team uses internally.

The Challenge

The client wanted to launch coupon and savings portals across multiple countries, each with its own brand, language, currency, and theme, all run by one operations team. Nothing existed yet. Editorial staff would have to add coupons by hand, manage merchants in spreadsheets, build campaign landing pages from scratch, track affiliate clicks for revenue attribution, and somehow keep quality consistent across thousands of coupons and hundreds of merchants per country.

There was no admin, no public site, no merchant database, no campaign engine, no affiliate deeplink generator, no quality workflow, no bulk import path, no multi-tenant model. Each piece is a real project on its own. The harder part was making them cohere into one platform that scaled to a new country by configuration rather than a fork.

Our Solution

We built the coupon marketplace from scratch as a multi-tenant platform with three audiences in one codebase. The editorial team gets a full admin console covering coupons, merchants, categories, campaigns, briefings, banners, static pages, and quality workflows. End consumers get the public coupon portals, one per country, each with its own brand, language, currency, and theme. Affiliate partners get deeplink endpoints with click tracking and revenue attribution.

The application owns the full content lifecycle. A coupon starts as a briefing, moves through draft and review with feedback messages back to the creator, gets validated against the merchant's affiliate network, and goes live on the right country portal in the right language with the right deeplink. Bulk imports handle thousands of coupons per file. Quality monitoring surfaces broken URLs, expired offers, and missing content before customers see them.
3
Audiences served from one platform: editorial, consumers, affiliate partners
4
Coupon formats unified on one workflow (codes, percentage, free delivery, in-store)
1
Codebase running portals across multiple countries, languages, and currencies

The Web App

The platform ships responsive on desktop and mobile. The editorial backend covers Coupons, Coupon Codes, Merchants, Categories, Campaigns, Briefings, Banners, Static Pages, Widgets, Templates, Translations, Authors, Snippets, Media, Affiliate Networks, Deeplink Parameters, Quality (broken URLs, alerts), Reports, Tracking, Settings, Users, and CSV Exports. The consumer portals, one per country, present coupons by category, by merchant, and by campaign, in the local language and currency. Each country runs on its own theme and domain, all from one codebase.

Tech Stack

Frontend Icon

Frontend

React.js, TypeScript, Tailwind CSS

Backend Icon

Backend

Next.js, API routes, Custom RBAC

Database Icon

Database

PostgreSQL

Infrastructure Icon

Infrastructure

Search service, CDN, Email, Cloud file storage, Affiliate deeplinking, Gift card provider, Analytics warehouse

Authentication, Permissions, and Integrations

The platform serves three audiences from one codebase. Editorial users sign in by email and password, with two-factor authentication, password reset, account lockout, and remember-me flows. Affiliate partners get tracked redirects from coupon click endpoints. On top of authentication sits a role system (guest, editor, admin) layered with per-resource capability flags, so a content editor can be granted access to coupons but not banners, or to QA but not user management. Every user is assigned to specific sites and country contexts, and queries are scoped automatically to the sites they can access.

Around that core, the platform handles search-as-a-service for full-text coupon search with custom priority ranking, a CDN for static asset delivery and cache invalidation, file storage for merchant logos and banner images, an affiliate deeplink generator with per-network subID validation, gift card sales through a third-party provider, email and newsletter integration, an analytics warehouse for click and conversion reporting, and an audit trail on critical changes to merchants and coupons.

Impact & Results

The editorial team now manages thousands of coupons and hundreds of merchants across multiple country portals from one console. Adding a new country is configuration, not engineering: register the site, pick the theme, set the language and currency, assign editors. Editors reuse the same merchant entity across sites and customize per locale instead of rebuilding it per country.

The content workflow turned what was an email-thread approval process into a tracked pipeline. A coupon moves from briefing to draft to review to publish, with feedback loops, validation against the merchant's affiliate network, and a quality queue that surfaces broken links and expired offers before customers see them. Bulk imports handle thousands of coupons per file. Affiliate partners get reliable click attribution through deeplinks generated against per-network subID rules.

Operationally, the platform handles search across the coupon catalog with custom priority ranking, runs background imports and quality checks, ships static assets through a CDN with surgical cache invalidation, and writes click and engagement data into an analytics warehouse for reporting. Adding a new affiliate network or a new coupon format is configuration.

Want a marketplace platform built end to end?

If you're running content operations across multiple sites, languages, or countries on a stack of spreadsheets and scattered tools, we build the whole thing: editorial console, customer-facing portals, partner integrations, content workflows, and the operational tooling your team uses internally.