Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1023 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 1023 Bytes

python-background-check-api

API for Python Background Check Demo App

setup your environment

install the python requirements

pip install -r requirements.py

create a config.ini file in your directory

```touch config.ini``

It should have the following sections and info:

    [current]
    environment=development
    
    [DEFAULT]
    temporalPath="localhost:7233"

    [development]
    temporalPath="localhost:7233"

    [production]
    temporalPath="localhost:7233"

Replace the temporalPath params to fit your environment

Run the application

In one terminal/process, start the temporalio worker from this app's root directory: python worker.py

In another terminal/process, start fast api from this app's root directory: uvicorn fast:app --reload

test the application

python -m pytest --cache-clear

Documentation