JeReserve.ma

Business & SaaS

Case study

2025 – 2026

Booking platform for beauty professionals, designed for Marrakech.

The problem

Letting a salon publish its services and availability, and a customer book a slot with no phone call and no double booking.

The solution

A professional area (profile, services, staff, opening hours, time off) and a public journey: search, salon page, booking without an account. A first version existed in 2025; this one was rewritten on stricter foundations.

Main features

  • Professional area: profile, services, staff, hours, time off, publishing
  • Availability engine and public search
  • Guest booking
  • No payment, e-mail or SMS yet

Technical design

Home-made signed sessions, rate limiting, origin checks and security headers. Making a double booking impossible is not left to application code: a PostgreSQL exclusion constraint guarantees it.

Challenges

Preventing double bookings
Two customers may confirm the same slot at the same instant. The database refuses any overlap for a given professional, whichever request arrives first.

Results

  • Functional but unpublished: production infrastructure is not set up
  • 107 test files and continuous integration (lint, type check, tests with PostgreSQL, build)

Technologies

  • Next.js 16
  • React 19
  • TypeScript
  • Prisma 7
  • PostgreSQL
  • Zod
  • Luxon
  • Vitest
  • GitHub Actions

Skills demonstrated

TypeScript · Next.js · Prisma · PostgreSQL · API design and integration · Authentication and authorisation · Testing and quality assurance · Git and GitHub · Software architecture

Links

No public link for this project.