HOSTYLE

Business & SaaS

Case study

2026

Online shop for a streetwear brand, from the pre-sale of a first piece to a permanent shop.

HOSTYLE home page on desktop: a black T-shirt and the brand's sloganHOSTYLE home page on mobile

The problem

Launching a brand through a limited pre-sale, then selling continuously, without overselling a small stock and with the duties of a real shop: invoices, terms of sale, order tracking.

The solution

An animated showcase site and a shop: Stripe payment, stock reserved while paying, PDF invoices, tracking page, waitlist, and administration of orders, stock and catalogue.

Main features

  • Stripe Checkout with stock reservations that expire
  • PDF invoices and versioned terms of sale, frozen for each order
  • Order tracking, waitlist, scheduled or manual opening of sales
  • Administration: orders, stock, catalogue with sizes and photos
  • Transactional e-mails with automatic retry

Technical design

Sales logic is written in SQL functions. Tables are locked down: row-level security is forced with no access policy at all, so only the server can read or write, which a test asserts. Migrations are additive and come with rollback scripts. A check blocks forms posted from another site, and a secret scan runs before each commit and in continuous integration.

Challenges

Never selling the same piece twice
Stock is reserved when payment starts and released if it does not complete, all inside the database so it stays consistent under simultaneous purchases.
Turning a development database into production
The switch was prepared with written runbooks: backup, restore, migrations and rollback tested before opening.

Results

  • Site online: hostyle.fr
  • 17 migrations and 5 rollback scripts
  • Continuous integration: secret scan, type check, lint and build

Technologies

  • Next.js 16
  • React 19
  • TypeScript
  • Supabase (PostgreSQL)
  • Stripe Checkout
  • GSAP
  • Tailwind CSS 4
  • Vercel
  • GitHub Actions

Skills demonstrated

TypeScript · Next.js · PostgreSQL · Supabase · Stripe payments · Authentication and authorisation · Automation · Git and GitHub · Digital product development

Links