Medical Terminology & Anatomy Backend API

Lightweight modular FastAPI backend exposing REST endpoints for managing and searching medical terminology (with category filtering), anatomy, and pathology records. Implements CRUD operations, pagination, partial text search with ILIKE, environment-based configuration (.env.dev / .env.prod), SQLAlchemy ORM models, Pydantic schemas, and Alembic-ready structure for future migrations. Open CORS policy enables easy integration with web or mobile clients.

Technologies Used

PythonFastAPIAPIHealthcareMySQL

Key Features

  • Modular routers (Anatomi, Patologi, Terminologi)
  • Create / Read / Update / Delete endpoints
  • Pagination & limit controls
  • Category filtering (Terminologi)
  • Full-text LIKE search on name & description/meaning
  • Pydantic request/response schemas
  • SQLAlchemy ORM models
  • Environment-based config loading
  • MySQL connectivity via PyMySQL
  • CORS-enabled for all origins

Technical Stack

Python
FastAPI
SQLAlchemy
Pydantic
MySQL
PyMySQL
Alembic (structure ready)
python-dotenv