Greenfield Platform

Dynamic QR infrastructure, not a QR checkout gimmick.

QR Predictive is being rebuilt as a subscription platform for dynamic routing, styled QR generation, workspace governance, analytics, and high-availability redirects.

Build Sequence

  1. 1Supabase schema and RLS foundation
  2. 2Auth and workspace onboarding
  3. 3Stripe products, prices, checkout, and portal
  4. 4Dynamic QR CRUD with destination versioning
  5. 5Public redirect plane and analytics ingestion
  6. 6Styled asset generation and export delivery

Starter

$19

Single workspace with enough headroom for a serious launch.

  • 25 dynamic QR codes
  • Core styling controls and exports
  • Basic scan analytics
  • Stripe-hosted billing and self-service portal

Growth

$79

For teams managing campaigns, print, and production routing.

  • 250 dynamic QR codes
  • Advanced style presets and branded frames
  • Team roles and audit logs
  • Destination history and enhanced analytics

Scale

Custom

For larger fleets, custom domains, and operational controls.

  • High-volume redirect traffic
  • Custom domains and workspace governance
  • Priority support and migration help
  • Enterprise billing and API roadmap

Product Surface

What ships first

  • Dynamic URL QR codes with editable destinations
  • Styled SVG, PNG, and PDF exports
  • Workspace roles, billing, and analytics
  • Foundation for vCard, Wi-Fi, and custom domains next

Security

Platform principles

  • Redirect first, analytics second: public routing should stay fast even when downstream telemetry is delayed.
  • Workspace-scoped data access with row-level security from day one.
  • Stripe webhooks are the billing source of truth, not client redirects.
  • QR assets are versioned outputs of QR state and style state, not ad hoc one-off files.

Repo Status

This repo now contains

  • Next.js app router foundation
  • Supabase SSR helpers and env boundaries
  • Dashboard route structure
  • SQL schema for workspaces, subscriptions, QR codes, assets, analytics, and audit logs

Execution Board

Ordered backlog with visible progress

This page is the current operating board. As tasks are completed, they get marked in red and crossed out instead of disappearing.

  1. 1

    Reset the repo and establish the new stack

    DONE

    Astro is gone. The app now runs on Next.js, TypeScript, Tailwind, and Supabase SSR helpers.

  2. 2

    Define the initial platform schema

    DONE

    The first Supabase migration covers workspaces, memberships, subscriptions, QR objects, assets, scan events, audit logs, and custom domains.

  3. 3

    Wire Supabase auth and workspace onboarding

    DONE

    Implement sign-in, first-workspace creation, membership flows, and protected app routing.

  4. 4

    Integrate Stripe products, checkout, portal, and webhooks

    NEXT

    Make billing real and map Stripe state to workspace entitlements in Postgres.

  5. 5

    Build QR CRUD with destination versioning

    DONE

    Create QR records, attach current destinations, preserve history, and enforce plan limits.

  6. 6

    Build the redirect plane

    DONE

    Add public slug routing, active destination lookup, and asynchronous analytics capture.

  7. 7

    Build the style and render pipeline

    DONE

    Generate branded SVG, PNG, and PDF assets with color, pattern, frame, and logo controls.

  8. 8

    Layer in analytics, domains, and operational controls

    NEXT

    Finish reporting, custom domains, workspace settings, and the admin-quality tooling needed for production.