Skip to content

notarious2/geolocations

Repository files navigation

Working with Spatial Data using FastAPI and GeoAlchemy

A comprehensive, step-by-step coding tutorial is accessible in this Medium post

QuickStart

  1. Clone repository: git clone https://github.com/notarious2/geolocations.git
  2. Build Docker images: docker-compose build
  3. Run Docker containers: docker-compose up

Tools/Libaries used:

  • FastAPI, uvicorn
  • Pydantic, pydantic-extra-types
  • SQLAlchemy 2 and GeoAlchemy 2
  • Async PostgreSQL using asyncpg driver
  • Alembic for migrations
  • Docker for containerization
  • Poetry for dependency management

Swagger UI

image