Skip to content

shakeeluetp1041/Fastapi-patient-management-CRUD-

Repository files navigation

🩺 Patient Management System – FastAPI Application

A FastAPI application for managing patient records with full CRUD (Create, Read, Update, Delete) functionality.

This project demonstrates:

  • The use of HTTP methods: GET, POST, PUT, DELETE
  • The concept of endpoints, path parameters, and query parameters
  • Robust data validation and type enforcement using Pydantic models
  • The use of computed fields to dynamically generate new information based on client-provided input

The application provides a simple yet functional backend API for:

  • Retrieving patient data
  • Creating new patient records
  • Updating existing patient records
  • Deleting patient records

🔧 Requirements

Make sure to recreate the environment by installing all required dependencies:

pip install -r requirements.txt

How to Use the Patient Management System – Step-by-Step

-Clone the GitHub repository to your local machine -Open the Project in VS Code -Open a terminal in VS Code and install all the required Python packages using:pip install -r requirements.txt -Start the FastAPI backend server with:uvicorn main:app --reload (This will start the server at http://127.0.0.1:8000) -Open browser and go to http://127.0.0.1:8000/docs -Try the Endpoints: 1. Adding a patient, 2. Viewing patient data, 3. Updating patient information, 4. Deleting a patient

About

A FastAPI-based backend for managing patient records with CRUD operations and Pydantic validation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published