Web Viewer for a Mobile Business Card App by Wahid AliWeb Viewer for a Mobile Business Card App by Wahid Ali

Web Viewer for a Mobile Business Card App

Wahid Ali
Verified paid work

Web Viewer for a Mobile Business Card App

Web viewer that renders any Swapp business card from unstandardized Firebase data, with no backend changes.
Swapp is a French startup with a mobile app for creating digital business cards. They needed a web platform that would allow recipients to view cards via unique URLs.
swapp.fr - Homepage
swapp.fr - Homepage

What Made This Hard

The data was a mess. The mobile team had already built the backend, and nothing was standardized. Different card types store information in completely different formats. I couldn't predict what shape the data would take until it arrived.
The UI had to build itself. Each card's color scheme, layout, and content blocks are defined in the backend. The frontend needed to read the configuration and assemble the right components on the fly.

How I Built It

I designed a component-based architecture where each content block (links, images, videos, social profiles) is a self-contained module. The app fetches the card type and data structure from Firebase, then dynamically assembles the appropriate components.
For the messy data problem, I built validation layers that check types and formats before rendering. If something unexpected comes through, the system handles it gracefully instead of breaking the UI.
SvelteKit was the right choice here. Its reactivity made it easy to render different card types without performance issues.
Flow: a validation layer checks card data before the page assembles it.
Flow: a validation layer checks card data before the page assembles it.

Results

The dynamic rendering system supports unlimited card types without code changes
When the mobile team adds new features, the web platform adapts automatically
Unexpected data falls back gracefully instead of breaking the page

Tech Stack

Frontend: SvelteKit, TypeScript, Tailwind CSS, Shadcn UI
Backend: Firebase
Deployment: Ubuntu Server

Link

What the client had to say

Wahid is an amazing person to work with! Great work, super nice an friendly person to work with! Definitely will work with him again and recommand

Arthur Feingold, Swapp

Apr 22, 2025, Client

1 like · 43 views · Jan 25, 2026

French digital business card app. Built a SvelteKit web viewer with dynamic rendering that handles any card type from unstandardized Firebase data.