A FastAPI application for managing patients and therapists.
Clone the repository:
git clone https://github.com/av-guy/patients-api-rs.git
cd patients-api-rsCreate 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.txtStart the FastAPI app with Uvicorn:
uvicorn patients_api.main:app --reloadOpen http://127.0.0.1:8000/docs to explore the API.
After creating the virtual environment, run
pytestA Makefile is included, but you can simply run:
sudo docker compose upThen open http://127.0.0.1:8000/docs