Rafael SilvaContact

Web app2026

Link pages with an offer quiz

An internal web app for a creator-marketing agency. The team builds public link-in-bio pages from blocks, keeps a product catalogue behind them and runs a four-question quiz that recommends the right offer. Leads are captured with consent and queued for the agency's CRM.

Contribution
Built the app: data model, admin, public pages and integrations
Status
Built and validated locally; not launched
Client
A creator-marketing agency (internal tool)
Period
July to August 2026
Stack
Next.js, TypeScript, Supabase

Credits Implementation assisted by AI coding agents

Admin overview of the platform: page status with one published demo page, catalogue counts (4 active products) and a shortcut to the recommendation quiz
Admin overview with seeded demo data, local environment, August 2026. Brand name blurred.

Overview

One place to build and publish link pages

The agency runs campaigns with creators and needed public pages it could change without a developer: profile, social links, a product showcase and a WhatsApp contact, plus a way to send each visitor to the right offer. I built the internal app for a team of up to five people, with owner, editor and viewer roles.


Editor

Blocks, preview and versioned publishing

  • Pages are built from ordered blocks: profile, social links, quiz call, product showcase and link cards. Each block can be hidden while it's being prepared.
  • The editor previews the page at phone width. Publishing creates a new version with a note, so a draft never reaches the public page.
Block editor: list of blocks on the left, phone preview of the public page in the middle and the selected block's settings on the right
Block editor with the phone preview, demo data.

Catalogue

The products behind the showcase

  • Products with price, compare-at price, status (active, draft or archived) and the traits the quiz uses to match offers.
Products list in the admin with four demo products, their prices and status
Catalogue with demo products.

Quiz

A recommendation the team can explain

  • Four questions. Weighted rules pick the offer, with hard exclusions, so the same answers always give the same result; AI is optional and only writes the explanation text.
  • The admin edits questions and rules, and a simulator runs the quiz as a visitor would, against the draft or a published version.
Quiz admin: preview of the quiz opening, the three steps (questions, recommendation rules, simulator) and the configuration form
Quiz on a phone: the four answers given and the recommendation screen
Quiz admin and the visitor's result on a phone, demo data.

Public page

Built for a phone first

Public page on desktop: profile, quiz panel, four demo offers with prices and a WhatsApp card
The same public page on a phone
Public page with demo offers, desktop and phone.

Leads

Consent first, then the CRM

  • The lead form stores consent together with the version of the text the visitor saw.
  • Submissions are queued in an outbox for a worker that sends them to the agency's CRM, which stays the system of record for the sales pipeline. Like the rest of the app, this path was validated locally and has not run in production.
  • First-party analytics with 24 named events and no third-party cookies.

Tech details

How it's built

  • Access: magic-link sign-in only for pre-approved e-mails; the five-user limit is enforced by a database trigger and on the server.
  • Data: Postgres with row-level security on every table; Zod validation on every external input (API, forms, environment, AI output).
  • Integrations behind adapters: CRM, e-mail and the optional AI writer can each be switched off, which is how the demo environment runs.
  • Tests: Vitest for unit and integration, Playwright for end-to-end.
  • History: 631 commits between 29 July and 29 August 2026.
  • Screens: local environment with seeded [DEMO] data; the agency's name is blurred.

What this means for your business

If your team needs pages, catalogues or lead flows that marketing can change without a developer, I can build the admin, the public pages and the connection to the tools you already use.

Contact on LinkedIn

or e-mail contato@rafaelshopify.dev


Explore more