Skip to content

Repository files navigation

Dental Plus Premier

A production-ready dental clinic platform built for real-world clinical workflows. The application enables patients to schedule appointments, complete bilingual digital consent forms, sign documents electronically, and generate downloadable PDF consent records.

Built using TanStack Start, TypeScript, MongoDB, and server-side React functions, the platform demonstrates modern full-stack architecture with SSR, type-safe APIs, and healthcare-focused workflows.


Live Demo

🔗 Website: https://dentalplusdehradun.in


Problem Solved

Traditional dental clinics often rely on paper-based patient intake and consent workflows, resulting in manual record management, poor accessibility, and inefficient appointment coordination.

Dental Plus Premier digitizes these operations through:

  • online appointment scheduling,
  • digital patient consent workflows,
  • bilingual medical forms,
  • electronic signature capture,
  • downloadable PDF consent records,
  • centralized patient record storage.

The project was designed for deployment in a real dental clinic environment.


Key Features

  • Online appointment booking workflow
  • Dynamic time-slot selection system
  • WhatsApp-assisted booking confirmation
  • Bilingual consent forms (English / Hindi)
  • HTML5 Canvas-based digital signature capture
  • Automated PDF consent document generation
  • MongoDB-powered patient record persistence
  • TanStack Start server functions
  • SSR-enabled frontend architecture
  • Responsive mobile-first UI
  • Type-safe full-stack development using TypeScript
  • Modern healthcare-focused interface design

Screenshots

Homepage

Modern dental clinic landing page with appointment-first workflow.

Screenshot (92)

Appointment Booking

Dynamic appointment scheduling with date and time-slot selection.

Screenshot (96) Screenshot (97)

Clinical Consent Form

Structured bilingual patient consent workflow.

Screenshot (93) Screenshot (94)

Digital Signature Capture

HTML5 Canvas-based electronic signature system.

Screenshot (95)

Tech Stack

Frontend

  • TanStack Start
  • React
  • TypeScript
  • Tailwind CSS

Backend / Server

  • TanStack Server Functions (createServerFn)
  • Node.js

Database

  • MongoDB Atlas
  • Mongoose

PDF & Document Processing

  • html2pdf.js
  • HTML5 Canvas API

Deployment

  • Vercel

System Architecture

Patient
    |
    v
TanStack Start Application
    |
    +------ Server Functions
    |
    +------ MongoDB Atlas
    |
    +------ PDF Generation

The application uses TanStack Start server functions instead of a traditional standalone Express backend, simplifying deployment and enabling type-safe server communication.


Consent Workflow

Patient Appointment
        |
        v
Clinical Consent Form
        |
        v
Digital Signature Capture
        |
        v
PDF Generation
        |
        v
Database Storage

The workflow digitizes traditional paper-based dental consent procedures into a structured, downloadable, and storable digital format.


Technical Highlights

Server Functions Architecture

Implemented TanStack Start createServerFn handlers for type-safe server-side operations without maintaining a separate Express API layer.

Digital Signature Capture

Built an HTML5 Canvas-based signature system allowing patients to digitally sign clinical consent documents directly within the browser.

PDF Document Generation

Generated downloadable patient consent PDFs dynamically using html2pdf.js.

MongoDB Connection Caching

Implemented connection caching strategies to prevent excessive MongoDB reconnections in serverless deployment environments.

SSR & SEO Optimization

Leveraged server-side rendering for improved performance and local search discoverability.


Installation

Clone the repository:

git clone <repository-url>

Install dependencies:

npm install

Run development server:

npm run dev

Build for production:

npm run build

Environment Variables

Create a .env file:

MONGODB_URI=

Real-World Usage

This project was designed as an operational platform for a real dental clinic workflow, focusing on patient onboarding, appointment scheduling, consent digitization, and clinical document handling.


Future Improvements

  • Admin analytics dashboard
  • Patient appointment history
  • Cloud-based PDF archival
  • Automated reminder notifications
  • Role-based clinic staff access
  • Secure doctor/patient portals

Author

Bhaskar Tiwari

GitHub: https://github.com/EmulationNerds685

About

Production-ready dental clinic platform featuring appointment scheduling, bilingual digital consent forms, signature capture, PDF generation, and secure patient record management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages