Welcome to the backend repository for HealthCare.
This repository contains the backend codebase responsible for handling server-side logic, database management, and communication between different system components.
- HealthCare Backend
- Table of Contents
- Technologies Used
- Features
- Installation and Setup
- Usage
- API Endpoints
- Contributing
- License
- Node.js: Runtime environment for executing JavaScript code.
- Express.js: Web application framework for building APIs and handling HTTP requests.
- Prisma: ORM (Object-Relational Mapping) tool for database management.
- PostgreSQL: Relational database management system.
- WEB RTC (Agora.io): Third-party service for real-time communication between users.
- JWT: JSON Web Tokens for secure authentication and authorization.
- bcrypt: Library for hashing passwords.
- nodemailer: Library for sending email notifications.
- User Authentication and Authorization: Secure authentication using JWT tokens.
- User Management: CRUD operations for managing user accounts (Admin, Doctor, Patient).
- Appointment Management: Create, update, and delete appointments.
- Real-time Communication: Integration with WEB RTC for real-time communication between doctors and patients.
- Prescription Management: Create, update, and delete prescriptions.
- Email Notifications: Send email notifications for appointment confirmations, invoices, and prescription delivery.
- Clone this repository:
git clone <repository_url>
- Install dependencies:
npm install
- Set up the environment variables by creating a
.env
file and filling in the required variables based on the provided.env.example
file. - Run the database migrations:
npx prisma migrate dev
- Start the server:
npm run dev