This repository contains the code for the Marketplace service demo to follow along the No More Raw SQL: SQLAlchemy, ORMs and asyncio workshop.
Workshop instructions can be found here
-
Create a python virtual environment and activate it:
python3.12 -m venv ./venv source ./venv/bin/activate
-
Install your service dependencies:
python3.12 -m pip install -r requirements.txt
-
Run the service:
./run.sh run
which is equivalent to
python3.12 marketsvc/server.py
-
In a new terminal window, run the
curl
commands:./run.sh customers
which is equivalent to
curl http://localhost:9090/api/customers