Skip to content

av-guy/patients-api-rs

Repository files navigation

Patients API

A FastAPI application for managing patients and therapists.

Setup

Clone the repository:

git clone https://github.com/av-guy/patients-api-rs.git 
cd patients-api-rs

Create and activate a virtual environment, then install dependencies:

python -m venv venv  
source venv/bin/activate   # On Windows use: venv\Scripts\activate  
pip install -r requirements.txt

Running the Application

Start the FastAPI app with Uvicorn:

uvicorn patients_api.main:app --reload

Open http://127.0.0.1:8000/docs to explore the API.

Running Tests

After creating the virtual environment, run

pytest

Running With Docker

A Makefile is included, but you can simply run:

sudo docker compose up

Then open http://127.0.0.1:8000/docs

About

A simple FastAPI application for managing patients and therapists

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published