Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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.

Workshop instructions can be found here

How to run this service?

  1. Create a python virtual environment and activate it:

    python3.12 -m venv ./venv
    source ./venv/bin/activate
  2. Install your service dependencies:

    python3.12 -m pip install -r requirements.txt
  3. Run the service:

    ./run.sh run

    which is equivalent to

    python3.12 marketsvc/server.py
  4. In a new terminal window, run the curl commands:

    ./run.sh customers

    which is equivalent to

    curl http://localhost:9090/api/customers

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages