---
title: "Fresha Salon App"
description: "A salon booking platform with paid appointments, four kinds of user, and a booking engine that checks every slot."
canonical: "https://sanketp.com/work/fresha-salon-app"
---

# Fresha Salon App

A salon booking platform with paid appointments, four kinds of user, and a booking engine that checks every slot.

- **Kind:** app
- **Visibility:** public
- **Period:** 2025 to 2026
- **Role:** Author

## At a glance

- **Roles:** Customer, salon, staff, admin
- **Payments:** Cashfree, idempotent webhook
- **Runs as:** One process

## Links

- [Source on GitHub](https://github.com/sanketpatel32/fresha-salon-app)
- [Live site](https://fresha-salon-app.onrender.com)

## What it is

Customers browse salons and book paid appointments. Salon owners manage services, staff, working hours, promo codes and analytics. Staff see their day at a glance, and an admin console watches over the platform.

## What I built

The whole product, from the React interface to the Express API and the database. One server hosts both, so the app deploys as a single process.

- An availability engine with per-day working hours, lead times, slot steps, staff conflicts and blockouts. Recurring bookings skip a clashing visit instead of double-booking it.
- Payments through Cashfree, with a webhook that verifies the raw body signature, can run twice safely, and a recovery path for payments that never became a booking.
- Reschedules, cancellations with reasons, waitlists that alert the next customer who fits, reviews with salon replies, loyalty points and referral codes.
- Role-guarded routes for all four roles, rate-limited sign-in, hashed one-time reset tokens, and account deletion that anonymises the record in place.

## How it was made

The repository keeps a 61-step improvement log across security, features and end-to-end tests. A journey test pins the whole booking lifecycle, and the test suite always runs against a throwaway database. There is a [video walkthrough](https://youtu.be/590sL3StJRM) of the app.
