Skip to main content
Character frontCharacter back
Landing Page & Booking System · Sep 2026 – Nov 2026

AC Luxury Aesthetics: serverless booking platform and client portal on Cloudflare Workers and D1

a.k.a. Angie Nails

→ CONTEXT: Production website and automated appointment booking system for a beauty studio in Cali, built on serverless edge infrastructure

→ OFFICIAL TITLE: Sitio web y sistema de agendamiento para estudio de estética y uñas

ROLE: Full Stack Developer & UI Designer
TIMELINE: Sep 2026 – Nov 2026
STATUS: Live
FOR: AC Luxury Aesthetics · AC Luxury Aesthetics (Cali, Colombia)
STACK:
backend
  • Cloudflare Python Workers
  • Cloudflare D1 (SQLite)
  • Workers-py
frontend
  • Vanilla JavaScript
  • HTML5
  • CSS3
  • esbuild
security
  • Cloudflare Turnstile
  • 2FA (TOTP)
  • Rate Limiting
  • Idempotency
  • CSRF auth
services
  • Resend (Email)
  • CallMeBot (WhatsApp Alerts)
FIG. 01 Desktop homepage hero highlighting studio services and the instant booking call to action

BLOCK // PROBLEM

AC Luxury Aesthetics managed all client inquiries, portfolio browsing and scheduling manually over WhatsApp. Coordinating multi-service combos (nails, lashes, brows) caused schedule overlaps, repetitive pricing and duration questions, high no-show risk, and friction for clients booking on mobile phones.

BLOCK // SOLUTION

An edge-native booking platform and responsive storefront built on Cloudflare Python Workers and D1 database. Features 100% autonomous scheduling with dynamic combo duration calculations, deposit rules and multi-channel confirmations (WhatsApp + Resend email) to cut no-shows, Cloudflare Turnstile anti-bot defense with API rate limiting, automated client privacy data retention, and a secure studio control panel protected with 2FA (TOTP).

BLOCK // CONSTRAINTS

  • Zero recurring infrastructure costs: built strictly within Cloudflare free serverless tier limits
  • Ultra-lightweight mobile experience: fast load times on 3G/4G connections without framework bloat
  • Data protection & privacy: automated data retention policies and strict 2FA authentication without intrusive CAPTCHAs

ENGINEERING IMPACT REPORT

Automated 100% of studio scheduling with zero fixed hosting costs. Eliminated booking coordination friction, cut no-shows with automated WhatsApp/email confirmations, and delivered high mobile PageSpeed performance.

100%
Autonomous bookingDirect client scheduling with dynamic bundle calculation
$0
Fixed infra costGlobal serverless edge execution on Cloudflare Python Workers & D1
0MS
Cold startSub-millisecond global edge response with minified static assets
2fA
TOTP admin securityProtected control panel with CSRF tokens and Turnstile bot defense

ENGINEERING DECISIONS

DECISION_01

Cloudflare Python Workers at the edge instead of a traditional container VM

Running Python directly on Cloudflare Workers edge eliminated cold starts and fixed server costs while achieving global sub-millisecond response times.

Instead of: Hosting a FastAPI server on Render or a dedicated cloud VM

DECISION_02

Colocated Cloudflare D1 (SQLite) instead of external managed PostgreSQL

Querying SQLite directly at the edge eliminated database connection pool overheads and kept query latency under 15ms.

Instead of: Connecting to an external cloud database (Supabase / Neon)

DECISION_03

Dynamic combo duration algorithm on the backend instead of static time slots

Multi-service combos (nails, lashes, brows) require contiguous block calculations with buffer padding, which static slots could not accommodate without overlaps.

Instead of: Restricting clients to single-service bookings or manual WhatsApp coordination

DECISION_04

Cloudflare Turnstile, rate limiting and idempotency keys on public booking endpoints

Invisible bot protection and idempotency prevented duplicate and automated spam bookings without frustrating client checkout with visual CAPTCHAs.

Instead of: Standard interactive CAPTCHA challenges

DECISION_05

Vanilla JavaScript and CSS with esbuild minification instead of an SPA framework

Almost 100% of beauty salon clients browse on smartphones. Vanilla JS guaranteed instant page loads, a bundle under 50KB, and 100/100 Lighthouse performance.

Instead of: A full React or Next.js SPA frontend

DECISION_06

Single source of truth branding pipeline with automated synchronization

A centralized site_config.json with a synchronization script propagates branding to static HTML, Schema.org, PWA manifest and SEO tags at build time with zero runtime overhead.

Instead of: Dynamic client-side rendering of all brand texts and assets

FIELD NOTES & DEVELOPMENT HIGHLIGHTS

NOTE_01

100% booking automation: clients book autonomously with transparent pricing, exact durations, and real-time availability

NOTE_02

Dynamic bundle algorithm: automatically calculates block durations for multi-service combos (nails, lashes, brows) preventing schedule overlaps

NOTE_03

No-show reduction: integrated deposit rules with multi-channel confirmations via WhatsApp and transactional emails (Resend)

NOTE_04

Zero fixed infrastructure cost: serverless implementation on global Cloudflare Python Workers and distributed SQLite (D1)

NOTE_05

Mobile-first performance: sub-millisecond edge responses with esbuild-minified static assets, preloaded web fonts, and WebP/SVG optimization

NOTE_06

Bot and abuse shielding: Cloudflare Turnstile verification, rate limiting, and idempotency keys on the public booking API

NOTE_07

Secure studio control panel: appointment management, statuses, and manual schedule blocking protected by 2FA (TOTP / Google Authenticator) and CSRF tokens

NOTE_08

Automated privacy & reliability: database sensitive data purging policies and an automated test suite (unit, integration, E2E, smoke tests)

LESSONS LEARNED

  • Serverless Python on Cloudflare Workers provides exceptional developer ergonomics and performance for production micro-apps.
  • For mobile-first local businesses, a zero-framework vanilla stack often delivers vastly superior conversion and UX compared to heavy SPAs.
  • Handling multi-service duration logic dynamically on the server creates a frictionless booking UX while protecting schedule integrity.

CORE SYSTEM PALETTE