← Back to all projects

Website & booking · 2026

Clinic website redesign & online booking

Replaced a slow, mobile-unfriendly website with a new site and an online booking system. (Sample/dummy project.)

Role
Full-stack developer
Context
Klinik kecantikan (dummy)
Duration
6 minggu
Team
Solo + 1 desainer
Stack
  • Laravel
  • Livewire
  • Alpine.js
  • MySQL
  • Tailwind CSS
  • cPanel
After: Clinic website redesign & online booking Before After
Drag to compare before and after

01 Context & problem

The clinic took almost every booking by phone and WhatsApp. Staff were overwhelmed at peak hours, and roughly 30% of prospective patients gave up because replies were slow.

Project goals:

  • Patients can book by themselves, 24/7, from their phone
  • Staff only confirm bookings instead of logging them manually
  • The website looks professional and loads fast

02 Before

  • An old WordPress theme with 23 active plugins
  • 6.2s LCP on 4G, Lighthouse mobile score 38
  • Layout broke below 400px wide
  • No way to book except by phone
Before: Clinic website redesign & online booking
Before

03 Process

  1. Step 1 · Research

    Audit & staff interviews

    Measured the old site with Lighthouse and WebPageTest, then spent 30 minutes with 2 staff members mapping the manual booking flow.

  2. Step 2 · Wireframe

    Booking flow wireframes

    Designed a 3-step flow: choose service → pick a slot → enter details. Tested with 5 people using a Figma prototype.

    3-step booking flow wireframe
    3-step booking flow wireframe
  3. Step 3 · Development

    Building the slot system

    Available slots are computed on the fly from each doctor's weekly template, minus existing bookings and holidays.

    PHP
    public function availableSlots(Doctor $doctor, Carbon $date): Collection
    {
        return $doctor->weeklyTemplate($date->dayOfWeek)
            ->slots()
            ->reject(fn ($slot) => $doctor->isBooked($date, $slot))
            ->reject(fn () => Holiday::covers($date));
    }
  4. Step 4 · Testing

    Performance & real-device testing

    Images converted to WebP with explicit dimensions, critical CSS inlined, fonts preloaded. Tested on 3 mid-range Android phones.

  5. Step 5 · Launch

    Launch & handover

    Deployed to cPanel via FileZilla, wrote short docs, and ran a 1-hour training session for staff on the admin panel.

04 After

  • Largest Contentful Paint

    Before: 6.2s After: 1.4s

  • Lighthouse mobile

    Before: 38 After: 96

  • Online bookings / month

    After: 120+

  • Booking phone calls

    After: −45%

The new site was rebuilt in Laravel. Services, doctors, and bookings are managed from an admin panel, so clinic staff can update content without a developer.

After: Clinic website redesign & online booking
After

05 Challenges & lessons

Challenges & solutions

Doctor schedules change often. Solution: slots are generated from a weekly template plus per-date exceptions instead of being stored one by one.

Shared hosting without cron. Booking reminders are sent when staff open the dashboard (lazy dispatch) instead of via a scheduler.

Lessons learned

  • Measuring performance before starting made the final result far more convincing to the client.
  • The most important features were the boring ones: confirmations, cancellations, and notifications.

Have a project or a role in mind?

Tell me about it. I usually reply within one business day.