PublicPublic: freely accessible online.2024Web Platform · Full Stack

DF Barbershop

Website, shop and management panel for DF Barbershop, Daniele Fichera's three-location barbershop in Rome: bookings, a shop for DF-branded products with Stripe payments, an Academy and a private admin area, all designed and built entirely by me.

Fact sheet

Role
Design, development and launch, on my own
Year
2024
Status
Public
Sector
Personal services
Devices
Web browser, Smartphone
Main stack
Next.js · React · TypeScript · Tailwind CSS · Zustand · Zod · Recharts · Node.js · NextAuth · Firebase · Stripe · Nodemailer · Vercel Blob · Vercel · SEO
Go to the overview

Overview

The project at a glance

Website, shop and management panel for DF Barbershop, Daniele Fichera's three-location barbershop in Rome: bookings, a shop for DF-branded products with Stripe payments, an Academy and a private admin area, all designed and built entirely by me.

DF Barbershop is Daniele Fichera's barbershop in Rome, open since 2020 and now with three locations: EUR-Papillo, Fonte Laurentina and, since June 2026, Cecchignola. Before this project there was neither a website nor a shop. I designed and built everything on my own: the locations' site, the shop for DF-branded products, the panel for managing orders and products, and the Academy.

Features

One site, three locations and a shop

The site holds together the locations, product sales and day-to-day management, with an entry page for choosing where to go.

  • A page for each location

    Papillo, Fonte Laurentina and Cecchignola each have their own pages: services with prices, about, booking, contact, opening hours and address.

  • A shared team

    A single list of barbers feeds every location: update it once when the owner moves someone.

  • Booking

    From the site you book on Treatwell, by phone or on WhatsApp, with each location's numbers always in view.

  • DF products shop

    A catalogue of DF-branded products in four categories, with search, a cart and tiered shipping: €9 for 1-2 items, €4.50 from 3, free from 5.

  • Stripe checkout

    Shipping details and, on request, billing details (tax code, VAT number, SDI code or PEC); payment happens on Stripe.

  • Emails along the order

    Confirmation, order in preparation, shipped with tracking and delivered: each step has its email, and the owner gets a notification.

  • Academy

    Applications to become a barber come from a dedicated form, with a confirmation email to the applicant and to the owner.

  • Assistant and newsletter

    An assistant with guided questions on bookings, prices, locations, hours, shop and Academy, and a newsletter with double confirmation.

The challenge

The problem to solve

Daniele had nothing: no website, no way to sell his products online. The system had to grow with the business, from one location to three, holding locations, shop and management together, and the owner had to be able to follow it on his own from the panel.

From a barbershop with no digital presence to three locations, a shop and a management panel.

History

From one location to three

The site has grown with the barbershop: first a single location, then all three.

  1. 2020

    The barbershop

    DF Barbershop starts: Papillo and Fonte Laurentina both carry 2020 as their founding year.

  2. December 2024

    The first version

    The first site, with the Papillo location only and its shop. Before that there was nothing.

  3. May 2026

    The v2

    A new project, written from scratch: more secure and more carefully designed, with every location, the shared shop, the Academy and the management panel.

  4. 14 June 2026

    Cecchignola

    The third location opens, with its own page and the same identity as the others.

Approach

From problem to release

  1. Analysis

    The owner moves barbers between locations, so the team is a single source of truth for all three. Bookings stay on the existing channels: Treatwell, phone and WhatsApp.

  2. Design

    Black and gold, Bebas Neue headings and Inter text, corner brackets and watermarks: a classic barbershop look, with an entry page for choosing the location and an identity for each one.

  3. Development

    Next.js, React and TypeScript with Tailwind; Firebase for products, orders and users; Stripe for payments; NextAuth for the private area. A responsive audit of the code guided the mobile refinements.

  4. Release

    Deployed on Vercel, with product images on Vercel Blob. The v1 had only Papillo; the v2 adds the other locations, the Academy and the panel, and the old shop addresses redirect to the new pages.

Architecture

How it is built

A Next.js application. Checkout does not trust the browser: prices are re-read from Firebase on the server before opening the Stripe payment session. The Stripe webhook is the source of truth: it verifies the signature, avoids duplicate orders and, in a single transaction, saves the order and decrements stock; then emails go to the customer and the owner. The admin panel sits behind role-based access with an action log, and product images live on Vercel Blob.

Illustrative diagram

Parts of the diagram

Hover over a part, or select it, to read what it does.

Quality

Payments, access and data

With payments, orders and a private area, security is part of the project. Here is what is in the code.

Payments and orders

  • Prices are re-read from Firebase on the server: the browser never decides how much is paid.
  • Checkout accepts at most 10 requests every 15 minutes per IP address.
  • The Stripe webhook verifies the signature and ignores events already processed.
  • Order and stock update in a single transaction, with sequential DF-year-number numbering.
  • Card data never touches the site: Stripe handles it.

Private area

  • Passwords hashed with bcrypt and an 8-hour session in an httpOnly cookie with strict sameSite.
  • A one-hour lock after 5 failed attempts in 15 minutes, and automatic sign-out after 30 minutes of inactivity.
  • Three roles (owner, admin, viewer), checked both in the proxy and in every API.
  • A log of administrators' actions.
  • Image uploads up to 5 MB, with a check of the file's real content.

Data and privacy

  • Orders, users, log and settings are blocked by Firestore rules: only the server reads them.
  • Contact, newsletter and Academy forms can only create data, with validated fields.
  • The newsletter has double confirmation, with an expiring link.
  • Cookies in four categories, with saved consent, and data validation with Zod.

Network and visibility

  • Security headers: HSTS, Content Security Policy, X-Frame-Options and Permissions-Policy.
  • Metadata, sitemap, robots and structured data for the locations.
  • Permanent redirects from the v1's old shop addresses.

Device adaptation was verified with an audit of the code, not on real devices.

Results

What changed

  • 3 locations

    One system

    Papillo, Fonte Laurentina and Cecchignola, with a shared team, shop and Academy. Cecchignola, opened on 14 June 2026, has its own page.

  • 1 transaction

    Orders

    Order and stock update together: no order can exceed the available stock.

  • 3 ways

    Booking

    Treatwell, WhatsApp or phone, from every location.

Data available on request

Contribution

From design to deployment

I designed and built everything on my own, for a real client.

  • Design and graphics

    The black-and-gold identity, the location chooser, each location's pages and the shop.

  • Site and shop

    Interface, catalogue, cart and checkout.

  • Management panel

    Orders, products, users, statistics and CSV and Excel exports.

  • Payments and email

    The Stripe integration and the order-flow email templates.

  • Security

    Access, data rules, headers and request limits.

  • Launch and continuity

    Deployment on Vercel and the move from the v1 to the v2.

Stack

Technologies

Frontend
  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Zustand
  • Recharts
Backend
  • Zod
  • Node.js
  • NextAuth
  • Stripe
  • Nodemailer
Data
  • Firebase
Infrastructure
  • Vercel Blob
  • Vercel
Fields
  • SEO

Interested in a similar project?

Write to me: I can present the work in detail, within the limits of the confidentiality agreements.

Write to me

francesco.barbato24 [at] gmail [dot] com