Abdulkader Safi

[DEMO] PHONE APP · FICTIONAL CLINIC

Noor Clinic Companion (DEMO)

A phone-first app in Arabic and English for a fictional clinic in Kuwait. Patients see their visits; staff run today's list and close visits from the phone, and every change shows up in the Noor Clinic admin.

  • Demo
  • Fictional clinic in Kuwait
  • Solo build
  • Patients and staff
  • Arabic and English
  • Not in app stores
Noor Clinic Companion demo, patient home screen in English and in Arabic with right-to-left layout
The patient home screen in English and Arabic: the open-now strip and the next visit, with one-tap actions.
THE PROBLEM

A second app usually means a second backend

A clinic with a good back office still has staff walking to a desk to check the day's list, and patients phoning to ask when their next visit is. The usual answer is a separate mobile app with its own backend, which then drifts out of sync with the admin.

This demo puts a phone app on the same Laravel backend and the same permission rules as the admin. A visit marked done on a phone is the same record the front desk sees, and it lands in the same activity log.

WALKTHROUGH

25 seconds, one real session

A patient in Arabic, the switch to English, a receptionist marking a visit done, and the admin's activity log showing the change. The video has music.

Noor Clinic Companion demo, login screen with demo role cards, in English and in Arabic with right-to-left layout
01 / 11 LOGIN WITH DEMO ROLE CARDS · ENGLISH AND ARABIC
Noor Clinic Companion demo, patient home screen with the open-now strip and next visit, in English and in Arabic with right-to-left layout
02 / 11 PATIENT HOME · ENGLISH AND ARABIC
Noor Clinic Companion demo, request a visit sheet with Call and WhatsApp buttons, in English and in Arabic with right-to-left layout
03 / 11 REQUEST A VISIT · ENGLISH AND ARABIC
Noor Clinic Companion demo, upcoming visits list, in English and in Arabic with right-to-left layout
04 / 11 MY VISITS, UPCOMING · ENGLISH AND ARABIC
Noor Clinic Companion demo, past visits grouped by month, in English and in Arabic with right-to-left layout
05 / 11 MY VISITS, PAST · ENGLISH AND ARABIC
Noor Clinic Companion demo, cancelled visit with its reason, in English and in Arabic with right-to-left layout
06 / 11 A CANCELLED VISIT · ENGLISH AND ARABIC
Noor Clinic Companion demo, clinic page with map, contact buttons and opening hours, in English and in Arabic with right-to-left layout
07 / 11 CLINIC PAGE · ENGLISH AND ARABIC
Noor Clinic Companion demo, profile with the patient file card, in English and in Arabic with right-to-left layout
08 / 11 PROFILE · ENGLISH AND ARABIC
Noor Clinic Companion demo, staff list of today's visits with search and status filters, in English and in Arabic with right-to-left layout
09 / 11 STAFF: TODAY · ENGLISH AND ARABIC
Noor Clinic Companion demo, staff visit detail with status buttons, in English and in Arabic with right-to-left layout
10 / 11 STAFF: VISIT DETAIL · ENGLISH AND ARABIC
Noor Clinic Companion demo, desktop layout with side rail and two-column list, in English and in Arabic with right-to-left layout
11 / 11 DESKTOP LAYOUT · ENGLISH AND ARABIC

ONE BACKEND

A phone app on the admin's own backend

Eight endpoints were added to the Laravel admin with Laravel Sanctum: signing in and out, the user's language, visits (list, open one, change status) and the clinic details.

  • A patient login is an ordinary user linked to a patient record. It has no roles and can't open the admin panel.
  • Patients only get their own visits. They never see invoices, clinical notes, the internal visit note or other patients, and asking for someone else's visit returns "not found".
  • Staff requests go through the admin's own permission rules, so the phone can't do anything the admin wouldn't allow.
  • Names, services and reasons come back in both languages, so switching language needs no reload.
Noor Clinic Companion demo, staff visit screen saying the change shows in the admin, next to the Noor Clinic admin activity log listing the receptionist's change, in English
A receptionist marks a visit done on the phone (left). The same change appears in the admin's activity log (right).

Features

For patients

Seven screens. Booking stays with reception on purpose.

  • Next visit on the home screen

    Date, time, doctor and services. One tap adds it to the calendar, opens directions, calls the clinic or opens the visit.

  • Open now, closes 5:00 PM

    A strip worked out from the clinic hours in Kuwait time.

  • Request a visit

    A sheet with Call and WhatsApp buttons. The app doesn't take bookings; reception does.

  • My visits

    Upcoming visits as cards and past visits grouped by month. A cancelled visit shows its reason.

  • Clinic page

    A map that opens directions, buttons to call or WhatsApp the clinic, and the opening hours with today highlighted.

  • Profile

    Name, patient file number, language setting and sign out.

Features

For staff, and across the app

Receptionists and doctors get two screens of their own.

  • Today's visits

    Search by name or file number and filter by status. On Fridays and Saturdays, when the clinic is closed, it shows the next working day with a note.

  • Close a visit from the phone

    Mark it done, no-show, or cancelled with a reason. The change saves to the admin and its activity log at once.

  • Doctors see their own visits

    The same rule as in the admin. Visit detail shows the patient's name, file number and phone.

  • Arabic by default

    The whole layout runs right to left, with Arabic digits (١١:٣٠ ص) and Kuwait time. One button switches to English, saved on the phone and on the account.

  • Phone, tablet and desktop

    From 768px wide the bottom tabs become a side rail and lists go to two columns.

  • Usable by everyone

    44px tap targets, a visible keyboard focus outline and labels for screen readers. A DEMO banner sits on every screen, in the active language.

API endpoints added to the admin
8
Screens: 7 for patients, 2 for staff
9
Tests for the API's access rules, inside the admin's 103
16
To open a visit from the list
20 ms

How it was built

What broke along the way

All of these happened while building it. Two were caught by tests, and three were Arabic or right-to-left problems.

PROBLEM FIX
A test showed the first seeded patient had front-desk permissions: the test factory gave the Receptionist role to any account created without one Patient accounts are excluded, and a test checks it
The login screen printed the shared demo password, and Chrome flagged it as leaked in the middle of demos Demo accounts are role cards that sign in from code, so no password is typed into the form
The demo logins are shared, so one visitor switching to English opened the app in English for the next The language chosen on the device wins at sign-in
The clinic is closed on Fridays and Saturdays, so the staff "today" screen was empty on those days It shows the next working day's list, with a note saying so
Arabic opening hours written as "٩:٠٠ ص – ٥:٠٠ م" came out scrambled, because a dash between two right-to-left times reorders They read as a sentence: "من ٩:٠٠ ص إلى ٥:٠٠ م"
Seeded cancellation reasons were stored in English only and showed in English on Arabic screens The API sends them in both languages
Opening a visit waited for the server each time Visits open from the list's data, in about 20 ms
The server's bun was older than the one that wrote the lockfile and refused to install Upgraded bun. The app is static files, so there is no Node server to keep alive

Stack

Built with

App

  • SvelteKit
  • Svelte 5
  • TypeScript

A static single-page app (adapter-static), installable as a web app. It needs a connection.

Interface

  • Tailwind CSS 4
  • shadcn-svelte
  • Lucide
  • IBM Plex Sans Arabic

The same font as the admin.

Backend

  • Laravel 13
  • Laravel Sanctum

The existing Noor Clinic admin, with a small token API added.

Hosting

  • Caddy
  • Hostinger VPS
  • rsync

Served by Caddy with no Node process, on the same server as the admin.

Want something like this built for your team? See the Mobile apps service, or start a project and I'll reply within one business day.

Work with me

Got a product in your head? Let's put it on a screen

Tell me what you're building, who it's for and when it has to be live. I'll reply with questions first, then a fixed quote.

Start a project