Skip to content

"The Clinic" is a RESTful API built with Node.js, Express and MongoDB. It uses Prisma ORM and TypeScript, strictly following domain-driven design (DDD) principles. The main goal of this repository is to learn and generate high-quality code.

Notifications You must be signed in to change notification settings

JosueMoDev/node-express-api-rest

Repository files navigation

🏥 The Clinic - API Rest

A simulation of a clinic management system where users can manage appointments, patients, and medical staff. The system includes roles for Administrators, Doctors, and Patients, allowing them to perform tasks such as scheduling appointments, managing patient records, and more.

✨ Features

  • Administrator Role:

    • Manage users (doctors, patients) with roles, permissions, and credentials.
    • Oversee clinic operations and generate reports.
    • Add and manage medical services provided by the clinic.
  • Doctor Role:

    • View their appointment schedule.
    • Manage patient records, including medical history, prescriptions, and notes.
  • Patient Role:

    • Schedule appointments with available doctors.
    • View their medical records and appointment history.

🛠️ Technologies

  • Backend:
    • Node.js
    • Express.js
    • TypeScript
    • MongoDB
    • Prisma ORM
    • Swagger for API documentation
    • Class-validator and class-transformer for data validation and transformation

⚙️ Setup

1. Clone the repository:

git clone https://github.com/JosueMoDev/node-express-api-rest
cd node-express-api-rest

2. Install dependencies: