Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 616 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 616 Bytes

Addresses API

Development

We use poetry for managing the package. Make sure you have this installed with Python3.10 or higher.

Getting started

First, make sure you have the PostGIS database with TIGER data running. (Steps documented elsewhere.)

After cloning the repo and installing poetry, run the following commands:

# Install dependencies
poetry install --with dev

# Install git hooks
poetry run pre-commit install

Running development server

poetry run uvicorn addresses_api:app --reload

Running tests

poetry run pytest