server

Develops NestJS-Prisma medical backend API with JWT authentication and Prisma transactions.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/raf4el12/MediClick --skill server-raf4el12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: server
Source: https://github.com/raf4el12/MediClick/tree/main/server
Command: npx skills add https://github.com/raf4el12/MediClick --skill server-raf4el12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust backend API for the MediClick medical system, handling user authentication, appointment scheduling, patient management, and more.

Core Features & Use Cases

  • User Authentication & Authorization: Secure login, JWT-based authentication, and role-based access control.
  • Appointment Management: Create, reschedule, cancel, and complete medical appointments.
  • Doctor & Patient Management: Onboard doctors, manage patient records, and view patient history.
  • Use Case: A receptionist can use this API to schedule a new patient's appointment with a specific doctor for a particular specialty, ensuring all necessary data is captured and validated.

Quick Start

Use the server skill to onboard a new doctor with their specialties and user credentials.

Frequently Asked Questions about server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a medical system backend API with NestJS and Prisma?

A medical system backend API handles appointment scheduling, doctor onboarding, and patient records via NestJS. It uses JWT authentication, role-based guards, and Prisma transactions to ensure secure data integrity across all medical workflows.

How does JWT authentication and role-based access control work in a NestJS backend?

JWT authentication secures login flows in a NestJS backend, while role-based guards enforce access control. This combination restricts medical system endpoints so only authorized doctors, receptionists, and patients access permitted data.

Can I manage doctor onboarding and appointment scheduling in a single NestJS API?

Yes, a single NestJS API can manage doctor onboarding and appointment scheduling. The backend processes doctor credentials alongside specialties and handles the full appointment lifecycle including creation, rescheduling, and completion.

What is the best way to ensure data integrity during medical appointment transactions?

Using Prisma transactions is the best way to ensure data integrity during medical appointment operations in a NestJS backend. Transactions guarantee that scheduling and rescheduling actions commit atomically without partial database updates.

When do I need Domain-Driven Design architecture for a medical system backend?

You need Domain-Driven Design architecture for a medical system backend when managing complex business logic across appointments, patient records, and reporting. DDD separates these medical domains to maintain scalable NestJS code.

Does this NestJS backend support rescheduling and canceling existing medical appointments?

Yes, the NestJS backend fully supports rescheduling and canceling existing medical appointments. The API manages the complete appointment lifecycle, allowing receptionists to create, reschedule, cancel, and complete patient bookings with validated data.