Skip to content

SQLAlchemy asyncio workshop demo project with Postgres for PyCon Germany 2024

License

Notifications You must be signed in to change notification settings

rhythm-patel/sqlalchemy-workshop-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLAlchemy Workshop

No More Raw SQL: SQLAlchemy, ORMs and asyncio

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

How to run this service?

  1. Build the Docker containers

    docker compose build
  2. In one terminal window, run

    docker compose run -p 9090:9090 marketsvc
  3. 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

About

SQLAlchemy asyncio workshop demo project with Postgres for PyCon Germany 2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published