ClinVexa – Healthcare & Wellness Software | Vibe96

Healthcare & Wellness

ClinVexa

Source code included

Self-hosted clinic management system for patients, queue, EMR, pharmacy, lab and billing, in English, Bangla and Arabic.

Built by MST RATNA BEGUM Updated 27 Nov 2026 14,817 lines of code

Open live demo Built withClaude Code

About this software

About ClinVexa

ClinVexa is a self-hosted clinic management system built with Next.js 15, TypeScript, Prisma and PostgreSQL. It is designed for a single clinic or a small multi-doctor polyclinic.

The application has 13 pages (dashboard, patients, doctors, appointments, live queue, consultation, pharmacy, laboratory, billing, reports, settings, help and login) plus printable invoice, prescription and lab report pages. Access is controlled by a permission matrix across 7 roles: administrator, doctor, receptionist, nurse, pharmacist, lab technician and accountant. Every protected API route goes through one permission wrapper, doctors only reach patients they have booked or treated, and docs/SECURITY.md maps each route to its permission. The interface ships in English, Bangla and Arabic, including a right-to-left layout.

A consultation saves vitals, diagnosis, prescription and lab orders in one step and creates the invoice when the visit closes. Pharmacy dispensing is all-or-nothing and deducts stock, and billing supports discounts, tax, partial payments and voiding unpaid invoices.

It deploys with Docker Compose or on a VPS. The archive includes the SQL schema, Prisma migrations, a committed package-lock.json, optional demo seed data, a CI workflow, setup and upgrade instructions, and 55 automated tests in 13 Vitest files.

The live demo is a static mock that runs in the browser with fictional data; it is not the real application. Not included: a mobile app, an online payment gateway and multi-branch support.

Category: Healthcare & WellnessStack: Next.js 15.5.29 (App Router) + React 19.1.10 · PostgreSQL 16Built with: Claude Code Licence: Single-site, full source

Why ClinVexa

What makes it better
than the alternatives

  1. 01

    Three languages with RTL

    English, Bangla and Arabic message files, with an Arabic right-to-left layout shown in the screenshots.

  2. 02

    Role-enforced API

    Every protected REST route runs through an api('<permission>') wrapper across 7 roles, the user is reloaded from the database on each request, and tests check that every route uses the wrapper.

  3. 03

    Consultation to invoice flow

    One save captures vitals, diagnosis, prescription and lab orders, and closing the visit creates the invoice.

  4. 04

    Safe handling of money and stock

    Dispensing is all-or-nothing and deducts stock, and invoices are voided rather than deleted.

  5. 05

    Ready to deploy and extend

    Docker Compose with a migrate profile, a first-admin bootstrap from environment variables, a committed package-lock.json, a CI workflow, and layered code (routes, services, validators) with a CLAUDE.md guide.

Patients

  • Registration and search by name or phone
  • Unique patient code
  • blood group
  • allergies and status (active
  • follow-up
  • inactive)
  • Profile with visits
  • prescriptions
  • lab results and invoices
  • Soft delete that preserves history

Appointments

  • Booking by doctor
  • service and time slot
  • Check-in
  • edit and cancel
  • Statuses: scheduled
  • checked-in
  • in consult
  • completed
  • cancelled
  • no-show
  • Per-day and per-doctor filters

Live Queue

  • Ticket numbers issued on check-in
  • One lane per doctor
  • Call next
  • finish and send back actions
  • Full-screen display board
  • Lanes refresh automatically every 10 seconds

Consultation / EMR

  • Vitals
  • complaint
  • diagnosis and notes
  • Prescription builder and lab orders saved in one transaction
  • Saving closes the visit and creates the invoice
  • Doctors see only patients they have booked or treated
  • and only their own prescriptions and lab reports
  • Printable prescription

Pharmacy

  • Medicine catalogue with low-stock and expiring-soon (within 60 days) alerts
  • Restock with stock movement history
  • Prescription dispense queue that deducts stock all-or-nothing

Laboratory

  • Orders created from consultations
  • Result entry with normal/high/low flags
  • Printable lab reports

Billing

  • Invoices with discount and tax
  • Partial payments and balance tracking
  • Payment methods: cash
  • card
  • mobile banking
  • insurance
  • Unpaid invoices without payments can be voided instead of deleted
  • Printable invoices

Reports & Dashboard

  • Revenue
  • appointments per doctor
  • top services and patients by gender (7 or 14 days)
  • CSV export of invoices and patients with formula-injection protection
  • Dashboard with SVG charts and notifications

Team, Settings & Security

  • Admin
  • Doctor
  • Receptionist
  • Nurse
  • Pharmacist
  • Lab technician and Accountant roles
  • User management that protects the last administrator
  • bcrypt passwords
  • signed httpOnly session cookies
  • login rate limiting (8 attempts per 15 minutes
  • in-memory)
  • Audit log
  • dark mode and command palette (Ctrl+K)

Quality report

Manually reviewed

83/ 100

Automated audit score

✓ Passed the audit

Passed the audit and a manual review.
Audit run: 15 Nov 2026
Reviewed by Vibe96 staff, Dubai.

Security83
Code structure84
Docs & completeness87
Dependency health88
Build & deploy80
Reviewer notes (3 minor)

No real credentials found; demo logins and seed data ship known weak passwords; no lockfile shipped; caret ranges only; dependency versions look current with no known critical cves; mostly reproducible; lockfile absent, config split across two env files, setup doc unverified; prisma-only access with scoped deletes; schema partly unverified and has fk index gaps; auth design looks sound, but route handlers were not visible so per-route guards and ownership cannot be verified. None of these stop the software from working; the developer has been told and improvements come in a future update.

Versions & updates

1.0.0
First release27 Nov 2026✓ Reviewed & audited

No updates yet. New versions appear here with a changelog.
Buyers receive updates free for 1 year.

Quality report

What you get

  • </>Full source codeThe complete audited source, delivered as a download from your account. No obfuscation.
  • ▤DocumentationSetup guide, architecture notes, CLAUDE.md and AGENTS.md.
  • ↻One year of updatesEvery new version the builder publishes, free for 12 months.
  • ♧30 days of supportInstallation and defect support through Vibe96 tickets.
$79Single-site licence Details
Vibe Studio Vibe Coding Platform

Build websites, mobile apps & business software.

  • .NET + SQL Server
  • Laravel + MySQL
  • Next.js + PostgreSQL
  • React Native
Build your software using AI
Nova, the Vibe Studio AI developer, with the Studio editor
Get it live

Your software. Your own domain.

$5/month

8-core CPU24 GB RAM
Shared high-performance servers
yourcompany.comLive
Make it live