Back to work
BROSLUNAS

[ Selected work ] / 2026

Broslunas Link

>>> Summary

Multi-tenant link pages: every person or business gets their own on a subdomain, with themes, WhatsApp and a QR code.

[ Live site ↗ ]

FIG. 01Broslunas Link
Role
Diseño y desarrollo
Stack
Next.js, React, TypeScript, Tailwind CSS, MongoDB, Auth.js, Cloudflare R2, Vercel
Year
2026

>>> Details

A Linktree alternative where the address is yours: marta.broslunas.link. It is a portfolio project to show a real multi-tenant architecture, free and with no payments.

  • +A subdomain per page: a proxy.ts resolves the host and rewrites to the tenant route without changing the visible URL.
  • +Data isolation: every query goes through an access layer that requires tenantId, with a test that checks two tenants never cross.
  • +Editor with sortable links (drag and drop), section headings, a WhatsApp button and YouTube or Spotify embeds.
  • +Seven preset themes (Aurora, Papel, Neón, Pastel, Atardecer, Brutal, Océano) plus font, colour and card-style tweaks.
  • +Downloadable QR code as PNG or SVG, and an optional custom domain.
  • +Visit and click stats per link, with no cookies.
  • +Per-tenant cache tag, invalidated when saved from the dashboard.
  • +Sign-in with Google or an emailed magic link, and rate limits on sign-up and creation.