Doctor Tracker
Independent full-stack case study
Doctor Tracker is a monorepo application for managing a doctor directory, assigned patients and operational statistics. The Next.js App Router frontend talks to a versioned Express API backed by MongoDB, with bcrypt/JWT authentication in an HTTP-only cookie and all authorization enforced on the server. Public screenshots come from local runs seeded with fictional records; no public demo credentials are provisioned.
Project Overview
- Role: Full-Stack Engineer
- Client: Independent full-stack case study
- Stack: Next.js 16, React 19, TypeScript
The problem we solved
Clinical administration needs fast lookup, reliable role boundaries and clear operational reporting. Moving filtering, sorting and counting to the client would not scale, while a cross-origin frontend and API required careful cookie, CORS and session handling.
How we approached it
Separated rendering and domain logic into independently deployable Next.js and Express applications. Implemented allowlisted pagination, indexed MongoDB queries, debounced search, aggregation-based dashboard metrics, Zod validation at the API boundary and a frontend session gate backed by GET /auth/me.
Results delivered
Screenshots from the actual implementation
Captured from local runs or approved project assets; no fabricated interfaces.
Key technical choices
Kept domain logic behind a versioned Express REST API so UI concerns stay separate from persistence and authorization
Used compound MongoDB indexes, .lean() reads and parallel count/page queries for list performance
Applied credentialed CORS allowlists, origin verification, Helmet headers and secure cookie configuration
Used fictional UAT seed data and withheld public demo credentials to avoid exposing patient or administrator information