A modern, secure, and scalable backend for managing healthcare operations, built with Node.js, Express, TypeScript, and Prisma.
The Healthcare Management System backend provides a robust foundation for medical appointment scheduling, patient records, billing, staff management, and doctor-patient interactions. It supports three main user roles: Admin, Doctor, and Patient. Each role has a tailored set of features and secure access.
- Node.js (v14 or higher)
- PostgreSQL
- npm or yarn
- Clone the repository:
git clone <repository-url> cd backend
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env # Edit .env with your DB credentials and secrets - Set up the database:
npx prisma migrate dev
- (Optional) Seed the database:
npx prisma db seed
- Start the development server:
npm run dev
For detailed documentation, see the docs folder.