Projects

Madhyapur Hospital

Website and booking

A new website and online booking system for Madhyapur Hospital, with a CMS the hospital's own staff use to keep it up to date. I led the project at Emberce, owning the product and technical decisions from the first stakeholder discussions to launch.

The brief

The hospital wanted its website, its content and its bookings in one system its own staff could run. It had to work in Nepali and English, on cheap phones over slow connections, and be looked after day to day by people who aren't developers.

The website

I built much of what patients see: the home page, the doctor directory with filters by department, weekday or a specific date, doctor profiles with their OPD schedule, services and specialties, the about and team pages, news, careers with online applications, a gallery and an accessible chat widget.

Most visitors arrive on a phone, so I designed every page phone-first and checked each one at phone width. Everything is translated into Nepali and built from one set of design tokens and HeroUI components, so filters, cards and buttons behave the same on every page. I also fixed around thirty layout bugs reported from staging.

Online booking

From a doctor's profile, a patient picks a day the doctor is in and a time, then signs in with their mobile number and a one-time code, so there's no password to remember. From their account they can see, reschedule or cancel their bookings.

At first each doctor's day was split into morning and evening sessions. In practice that confused patients, so I removed sessions and moved to one whole day per doctor, which made the booking form simpler.

Roles and permissions

Staff run the site from the custom CMS, which I designed around the people using it, so editors can keep doctors, services and pages up to date without a developer.

Administrators manage access with ranked roles. Each role gets view, edit, publish or delete rights area by area, you can only manage roles below your own, and granting sensitive areas asks for confirmation. Staff are invited by email instead of being handed a password, and can be imported from a spreadsheet, suspended or reactivated in bulk.

The page editor

Pages open in an editor with a live preview beside the form. You can switch between desktop, tablet and phone, or click something in the preview to jump to its field. Every save is kept in a version history you can name and restore, and blogs can be scheduled to publish or unpublish on a date.

Drafts turned out to be readable by anyone who knew where to look, and public reads included which editor last changed a page. I limited drafts and live previews to signed-in staff who can view that kind of page, and kept editors' names out of public reads.

Testing and deployment

Every pull request runs lint, type checks and unit tests, then Playwright end-to-end, accessibility and visual regression tests against a freshly migrated and seeded database, plus integration tests for the CMS's access control. I wrote the pipeline and most of its tests.

Releases go to Azure servers through GitHub Actions. The deploy backs up the database and copies the backup off the server before running migrations, then builds and restarts the site. Sentry reports errors from the server and the browser, with cookies, request bodies and sign-in headers stripped before anything leaves the site, and infrastructure alerts flag problems with the servers.

Built with

book a chat