This repository contains the code for the Marketplace service demo to follow along the No More Raw SQL: SQLAlchemy, ORMs and asyncio workshop.
Please use this link for the workshop tutorial itself: SQLAlchemy Workshop
-
Build the Docker containers
docker compose build
-
In one terminal window, run
docker compose run -p 9090:9090 marketsvc
-
Once the service is running, you can interact with it over http using
curl
. We’ve created a simple shell script to make it easier for you to do so. For example,./run.sh ordertotal 2
which is equivalent to
curl http://localhost:9090/api/order_total?order_id=2