Deploy the API
Docker
Exposes the API at http://localhost:5000.
Docker Compose
# Using Docker images from GCR
docker compose -f compose-prod.yaml up
# Building images from source
docker compose up
Exposes the API at http://localhost:5000, and the docs at http://localhost:8080.
AWS Lambda
Prerequisites
- AWS and Serverless Framework accounts
- AWS CLI
- Serverless Framework CLI
Deployment
When the deploy succeeds, it will show you the URLs for the deployed function, and you can call the API as normal. You can query these URLs at any time with serverless info.
From source
Prerequisites
- Python >=3.12
- Poetry
make
Clone the repo
Install
Launch the server
SDK
You can also use BoaviztaAPI directly in code with the SDKs:
- python-sdk : https://pypi.org/project/boaviztapi-sdk/
- rust-sdk : https://github.com/Boavizta/boaviztapi-sdk-rust