Amplifi is an influencer-marketing platform for running creator campaigns end to end, across two clients: a Next.js admin web app for brands and their teams, and a creator-facing mobile app built in React Native for the creators themselves. Brands onboard creators across TikTok, YouTube, Instagram, and Facebook; assign post quotas; track per-post performance, demographics, and AI content analysis; run payout workflows; and watch a gamified creator leaderboard — all behind real Clerk authentication.
Its most interesting trait is architectural. The original product was two repos — a Next.js frontend and an Express + MySQL/Postgres/Redis backend. This build folds the backend into the frontend: a server-side fetch shim intercepts every backend call and routes it to an in-process dispatcher over a deterministically seeded, date-shifted in-memory store (~28k rows across 47 fixtures). The 200+ BFF routes never knew the database disappeared — so the whole product runs on Vercel with no DB, Docker, or AWS.
System Architecture
BFF route handlers issue ordinary backend fetch calls; the shim catches them and answers from the in-memory store — zero network, zero rewiring. The web admin and the React Native app share the same API surface.
Domain Model
Organizations run campaigns; creator accounts are assigned to them and produce posts, whose metrics, analysis, payments, and strategy hooks hang off the post and assignment.
Highlights
- Two clients, one API — a Next.js web admin for brands and a creator-facing React Native mobile app, both served by the same BFF route surface.
- Performance hubs — per-campaign views, engagement, and follower analytics with per-platform breakdowns and daily charts, over ~2,200 posts and ~21,700 metric snapshots.
- AI content analysis — per-post sentiment, emotions, topics, hooks, CTAs, and creative format, plus scored QA reviews.
- Finance — payout workflow (requested → paid) with dynamic payment-structure formulas, invoices, and receipts.
- Gamified leaderboard — XP ledger and creator rankings.
- Folded backend — an Express + MySQL/Redis stack replaced by an in-process static data layer, indexed and auto-shifted so the data always looks current.
Tech
Web: Next.js 16 (App Router) · React 19 · TypeScript · Tailwind + Radix UI · TanStack Query + SWR · Recharts + D3 · Tiptap · Clerk auth. Mobile: React Native (creator-facing). Roughly 38 API groups over a 47-fixture in-memory store; deployed on Vercel.