← WorkCase Study — Solo Project
Case StudyWeb App · REST API · Admin

Nüdiet

Votre beauté, votre silhouette, votre bien-être.

A bespoke booking and CRM platform for a premium French wellness brand — multi-center, subscription-aware, with a full admin back-office. Designed, engineered and shipped end-to-end by one developer.

Role
Founder & sole engineer
Type
Web app · API
Platform
Web · Multi-tenant
Status
Live — nudiet.fr
nudiet.fr
Booking flow screenshot
01The Challenge
nudiet.fr
The booking experience screenshot

From fragmented tools

One bespoke
platform.

Nüdiet is a French wellness and aesthetic brand — cryolipolyse, pressothérapie, infrabike, suprasculpt, dietary consultations — across three physical centers.

Before the platform existed, the centers ran on a patchwork of external tools: no unified client journey, no subscription management, no centralized admin view. The goal was a fully bespoke digital experience — as premium as the services themselves — giving the team full control over scheduling, pricing, subscriptions and communications.

Not a white-label booking tool — every pixel and every API endpoint designed for Nüdiet.

The brief
02The Idea

Bespoke,
not white-label.

Nüdiet is a full-stack booking and CRM system: a branded web experience that converts visitors into clients, a smart booking flow, a real subscription engine with quotas and billing, and a multi-center architecture where each location operates independently.

What Nüdiet is not

  • A marketplace for third-party services
  • A generic SaaS booking tool
  • A public social network
  • A mobile-first product — web only
03Features

The full client
lifecycle.

01

Five-step booking flow

A guided funnel — centre, traitement, créneaux, connexion, confirmation — driven by a React context state machine and animated with Framer Motion.

02

Real-time availability

The server computes open slots on demand from live bookings and specialist schedules, with 15-minute granularity and a 48-hour minimum lead time.

03

Subscription engine

Monthly plans define per-treatment quotas and pricing rules — included, discounted or full — enforced server-side at checkout.

04

Stripe checkout

Three Stripe accounts, one per center. The server picks the right client by center slug; webhooks verify per-account secrets.

05

Client portal

An authenticated /profile area for bookings, subscriptions, invoices, health metrics, documents and gift cards.

06

Admin back-office

A full internal dashboard — bookings, treatment catalog, plans, leads, discount codes, gift cards, SMS campaigns and center settings.

07

Automated communications

Confirmation emails, 48h/24h reminders, abandoned-cart recovery and welcome emails — React Email templates dispatched by cron jobs.

The hard part

Subscription intelligence

Monthly plans define per-treatment quotas. At booking time the server asks four questions — active subscription, plan coverage, quota remaining — and applies the right rule. The highest-value client segment, modelled in full.

Pricing rules

  • Included

    Free within the monthly quota

  • Discounted

    Reduced price per session

  • Full

    Standard price — quota reached or unrelated

04Environments

Three environments,
one pipeline.

Nüdiet runs across a clean release pipeline — develop, staging and production. Neon’s database branching makes each environment fully isolated, so migrations and payment flows are rehearsed long before they reach a real client.

Develop

Build & iterate

  • Local development and Vercel preview deploys
  • A dedicated Neon database branch per feature
  • Stripe test mode · Clerk development instance

Staging

Validate before release

  • Pre-production environment mirroring the live schema
  • A staging Neon branch — migrations rehearsed safely
  • Booking and payment flows verified end-to-end

Production

Live · nudiet.fr

  • Serving the three center subdomains
  • Three live Stripe accounts, financially isolated
  • Real client data, monitored with PostHog and Sentry
DevelopStagingProduction— promote only what has been validated.
05The Product

Premium, clean and confident — a high-end Parisian wellness brand, never a generic health-tech product. Generous whitespace, subtle elevation, purposeful motion.

nudiet.fr
Homepage screenshot
nudiet.fr
Booking — center selection screenshot
nudiet.fr
Booking — service selection screenshot
nudiet.fr
Booking — slot picker screenshot
nudiet.fr
Booking confirmation screenshot
nudiet.fr
Admin back-office screenshot
06Engineering

End-to-end
type safety.

The stack was chosen for developer velocity, end-to-end type safety and lean infrastructure — all maintained by a single developer.

The stack

Frontend

Next.js 15 · React 19 · Tailwind v4 · shadcn/ui

App Router for SEO-ready marketing pages and the booking app; TanStack Query for server state, React Context for the booking flow, Framer Motion for transitions.

Backend

Bun · Hono · TypeScript

A lean, modern REST API on a fast runtime. Clerk JWT verification as middleware; cron jobs for reminders and notification dispatch.

Data

PostgreSQL · Neon · Drizzle ORM

Serverless Postgres with branching — the foundation for isolated develop/staging/production environments. 20+ modular Drizzle schema files.

Auth & payments

Clerk · Stripe ×3

Clerk handles auth, sessions and user-sync webhooks. Three Stripe accounts — one per center — keep financial flows fully separated.

Services & infra

Twilio · React Email · Turborepo · Vercel · PostHog · Sentry

A Turbo-powered Bun monorepo (client · server · email-client · shared) ships end-to-end type safety; Twilio for SMS, React Email for transactional mail.

Architecture

Next.js 15 Web App

Marketing · Booking · Profile · Admin

HTTPS · Bearer JWT

Hono API on Bun

Routes · Controllers · Cron

PostgreSQL

Neon · Drizzle ORM

Clerk

Auth · Tokens

External services

Stripe ×3 · Twilio

React Email · PostHog · Sentry

Challenges solved

01

Multi-Stripe account routing

Three Stripe accounts, three webhook secrets, one codebase. A stripeBuilder factory and per-account env variables make the right account selection transparent.

02

Real-time slot computation

Availability is computed on demand from live database state — 15-minute granularity, concurrent-treatment overlap logic, a 48-hour lead-time rule.

03

Subscription quota engine

A non-trivial pricing model — included, discounted, full — with monthly periods and plan-item configuration, all evaluated server-side at booking time.

04

Multi-tenant, one deploy

One Next.js app and one Hono API serve three subdomains with isolated data, branding and Stripe accounts — the hostname drives metadata and client selection.

05

End-to-end TypeScript

A shared package carries Zod schemas from database validation through API contracts to React form validation — one source of truth, no duplication.

06

Cron-based communications

Booking reminders, abandoned-cart recovery and notification dispatch run as scheduled jobs inside the Hono server, with test-environment guards.

07Multi-Center

Three centers,
one codebase.

The same Next.js app serves three subdomains, each mapping to a distinct physical center. The hostname drives SEO metadata, Stripe client selection and the available treatments and specialists — all filtered at the database level.

Batignolles

Paris 17e

batignolles.nudiet.fr

Flins

Yvelines

flins.nudiet.fr

Plérin

Bretagne

plerin.nudiet.fr

08Brand

Premium,
clean, confident.

A visual identity that evokes a high-end Parisian wellness center — spacious layouts, subtle elevation, rounded corners, and motion that is always functional, never decorative.

Palette

Brand Teal

#045058

White

#FFFFFF

Neutral 50

#FAFAFA

Neutral 900

#171717

Neutral 500

#737373

Typeface — Catamaran

Réserver une séance

Principles

  • shadcn/ui — new-york style, 45+ components
  • Clean, spacious layouts — generous whitespace
  • Rounded corners (8–12px) for a premium feel
  • Functional motion — Framer Motion on booking steps
  • Graceful empty states and loading skeletons

Not just software — a full digital product experience, for a real business that depends on it every day.