A cool numismatics store written in Python and FastAPI, demonstrating Snowplow's capabilities.
Make sure you have at least Python 3 installed.
It's recommended to generate a virtual environment to run this project locally. The following command can easily do it:
$ python3 -m venv veThis will generate a ve folder. The next command depends on your OS:
$ source ./ve/bin/activate$ ./ve/Scripts/activate.ps1After activating your virtual environment, you should pull all the dependent packages:
$ pip install -r requirements.txtBefore running, it is recommended to create a .env file with the information to access your connector. For instance, from .env.snowplow-micro:
SNOWPLOW_COLLECTOR_URI=localhost
SNOWPLOW_COLLECTOR_PROTOCOL=http
SNOWPLOW_COLLECTOR_PORT=9090Use the following command to run this project locally:
$ fastapi dev main.py