Doc Time — Backend REST API Engine

A scalable server side architecture managing patient appointment scheduling, doctor availability controls, and secure MongoDB document queries.

Architecture

RESTful API

Runtime

Node.js & Express

Database

MongoDB & Mongoose

Role

Backend Developer

Architecture & Overview

The Doc Time REST API Engine serves as the backbone for the medical reservation system. Engineered using Node.js and Express, it provides clean REST endpoints for managing time slot allocations, ensuring atomic schedule updates to eliminate reservation overlaps, and executing complex query filtering on doctor profiles.

Stack & Technologies

Node.js Express.js MongoDB Mongoose ODM REST API Architecture Data Validation

Core API Endpoints

POST/api/appointments

Validates doctor slot availability against real-time data and creates a secure booking entry.

GET/api/doctors/schedule

Retrieves available working hours and filterable schedule slots grouped by clinic branches.

PATCH/api/appointments/status

Updates reservation statuses (Confirmed, Cancelled, Completed) with data integrity checks.

Architecture & Schemas