A location-led website for a multi-branch clinic
A built and tested website for a fictional multi-branch dental clinic: find a branch, see which services it offers and when it is open, then send an appointment enquiry.
Sector: Local healthcare
- 3Branches, each with its own page and hours
- 8Services, each linked to the branches that offer it
- 2Databases supported: SQLite and PostgreSQL
- 132Automated tests
PROJECT GALLERY
Screens and visuals
THE BRIEF
The challenge
People can find the clinic name but are unsure which branch offers a service and how to contact that location.
THE PLAN
A practical approach
One shared data model links every branch to the services it offers. Branch pages, service pages and the enquiry form all read from it, so a visitor can only choose a service that the chosen branch provides. Opening hours are stored per branch and weekday, including split shifts and closed days, and shown with a live Open now / Closed badge in India time.
HOW IT WORKS
From finding a branch to a follow-up
- 01Find a branch
Filter by city or area and see at a glance which branches are open now.
- 02Check the services
Each branch page lists only the services that branch offers.
- 03Send an enquiry
Name, mobile number, preferred date and time, and a consent tick. The form never promises a slot.
- 04Branch is notified
The enquiry is saved, and emailed to the clinic when email settings are provided.
- 05Staff follow up
A password-protected list tracks each enquiry as new, contacted or closed, with a CSV export.
WHY IT WAS BUILT THIS WAY
Three decisions that shaped the site
Services tied to branches
One link between branches and services drives the branch pages, the service pages and the form, so patients never pick a service a branch does not offer.
An enquiry, not a booking
The form is a request to be contacted. It avoids promising a time slot the clinic has not confirmed.
Plain and light
Flask, Jinja templates, plain CSS and a little JavaScript. No front-end framework, no build step, and no third-party scripts or fonts.
WHAT WAS BUILT
What was built
This is an original project: the clinic, its branches, phone numbers, addresses and opening hours are made up, there are no reviews or medical claims, and the site says so in its footer. It is a real, working build with a database, an enquiry form and an admin area, ready to be deployed on Render. It is not client work.
Branch pages
- Address, phone, WhatsApp and map link for each branch
- Weekly opening hours with split shifts and closed days
- Open now / Closed badge, calculated in India time
- Services available at that branch, each with an enquiry link
- Filter branches by city or area
Services
- A page for every service listing the branches that offer it
- Service navigation that starts from a branch or from a service
- Plain, factual wording with no medical claims
Enquiry form
- Branch and service choices that always match (checked in the browser and again on the server)
- Indian mobile number checks, optional email, preferred date and time window
- Spam protection: hidden trap field, request limit per visitor and CSRF protection
- Optional email notification to the clinic
- Clear error messages next to each field and a plain success page
Admin and quality
- Password-protected enquiry list with status filters and a CSV export that is safe to open in a spreadsheet
- Unique page titles and descriptions, canonical links and structured data for each branch
- Labels on every form field, keyboard-friendly, mobile-first layout
- Database migrations, a health-check address and a Render deployment file
- Automated tests for pages, filtering, opening hours, the form and the admin