I Made An API With Python, Postgres, and Docker

Published: June 22, 2025

Python Logo PostgreSQL Logo Docker Logo

I recently made an API that updates order prices based on where an order comes from and where it's being shipped to. This API is in response to tariffs becoming a thing. I want to make sure my web shop can "dynamically" handle variable pricing based on where my customers buy from.

I created a data base in postgres that stores all the rules for my pricing. Postgres is perfect for my use case since I want fast lookup times.