Skip to content
All projects

DocNest

Clinic management software for medical practices: appointments, patient records, prescriptions and billing in one system, private to each clinic and available in seven languages. I led the development within a team, built most of the product and ran its SEO, marketing and GEO.

Visit DocNest

Next.js, React, TypeScript, Payload CMS, MongoDB, next-intl, Tailwind CSS, Playwright, Vitest, Docker, Vercel

languages, Arabic right to left included
7
roles: owner, doctor and reception
3
plans, from one doctor to groups and chains
4
or self-hosted on the clinic's server
Cloud
DocNest home page: Your whole clinic, in one safe place, beside the app's dashboard

The problem

A small clinic often runs on a paper diary, a spreadsheet for payments and a separate tool for prescriptions. Reception juggles every doctor's diary, double bookings slip through, and nobody can say who still owes what. A doctor working alone is the doctor, the front desk and the accountant at once. Groups and chains add one more constraint: rules about where patient records may live.

DocNest set out to put the whole clinic in one calm system, private to each clinic, working in the language of the people who use it.

What I built

Every clinic is walled off from every other one, and inside a clinic each person sees what their role needs. Reception books and bills but never reads clinical notes, a doctor sees the sessions they ran, and every sensitive action lands in an activity log nobody can edit from inside the app. These rules are checked on the server for every request and covered by automated tests.

The day view puts every doctor's schedule side by side, inside each doctor's own working hours. A slot that is taken is refused outright, so two receptionists clicking at once can't both win. Walk-ins get a queue number, and reception checks patients in and marks each visit done or missed from the same list. Patients get reminders by email with a calendar invite, the evening before or the same morning.

Day list of appointments for every doctor, with check in and complete buttons
The day, for every doctor at once.
Owner dashboard with today's appointments, revenue and outstanding balances
The owner's dashboard.

A visit is recorded in one form: vitals, symptoms, diagnosis, treatments and the prescription, which prints on the clinic's letterhead. Allergies stay at the top of the record, and every past visit follows in order.

Patient record with allergies, last diagnosis, active medicines and past visits
A patient record.

Billing follows the visit. An invoice is created in one click with the consultation and any treatments, patients can pay in parts or on a payment plan, and the Balances screen shows who owes what and what is overdue. The owner decides whether reception and the doctors handle billing.

Invoice with its lines, payments and payment plan
An invoice.
Balances screen listing patients with outstanding and overdue amounts
Who owes what.

Seven languages, Arabic written right to left included, with any currency and timezone per clinic. Each person works in their own language and picks one of two looks, Classic or Modern.

SEO, marketing and GEO

I also ran the product's public side: a marketing site in seven languages, a help center answering the questions clinics ask, and a facts page written to be quoted by search engines and AI assistants. Every public page carries structured data, its own canonical address and links to its translations, and an llms.txt file describes the product for AI crawlers.

Speed was treated as part of marketing. On phones, the largest text on the home page used to wait for its entrance animation, and Google PageSpeed measured 7.1 seconds before it appeared. Reworking the entrance brought that to 1.2 seconds without removing a single animation, with full marks for accessibility, best practices and SEO.

Help center page answering questions about billing and payments
The help center, in seven languages.

What was hard

Keeping clinics apart in a shared system. The separation had to hold for every request, every screen and every export, so it lives in one place on the server and every new feature is tested against it.

Seven languages, one of them right to left, meant every screen had to work mirrored and every message, email and printed page had to exist in each language. A test checks that every language has every line.

Outcome

DocNest is live, with a Doctor plan for a doctor working alone, a Clinic plan for teams of up to five doctors, Custom plans for groups and chains, and a self-hosted version that keeps every record on the clinic's own server. A live demo with two working practices lets anyone try it without signing up.