Medical Center API Documentation
Complete REST API for managing medical appointments, doctors, patients, and administrative operations. Built with Express.js, Prisma, and PostgreSQL.
Quick Start
Get up and running in minutes
Configure environment variables
Create a
.env file with your database and Supabase credentials.See the Environment Variables guide for detailed configuration options.
Key Features
Everything you need to manage a medical center
Appointment Management
Complete workflow for scheduling, confirming, and managing patient appointments with multiple states.
Role-Based Access
Secure authentication with admin and assistant roles using Supabase JWT tokens.
Public Endpoints
Allow patients to book appointments and view doctors without authentication.
Dashboard Analytics
Real-time statistics on appointments, patient volume, and operational metrics.
Explore the API
Browse API endpoints by category
🌐
Public Endpoints
No authentication required. Perfect for patient-facing applications.
View endpoints
📅
Appointments
Manage appointment lifecycle from creation to completion.
View endpoints
👨⚕️
Doctors & Specialties
Manage medical staff and their specializations.
View endpoints
📊
Dashboard & Analytics
Access operational metrics and statistics in real-time.
View endpoints
Ready to get started?
Follow our quickstart guide to set up the Medical Center API in minutes and start building your healthcare application.
View Quickstart Guide