Skip to content

Deploy the API

Docker

$ docker run -p 5000:5000 ghcr.io/boavizta/boaviztapi:latest

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

Deployment

serverless deploy

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

Clone the repo

$ git clone https://github.com/Boavizta/boaviztapi.git

Install

$ make install

Launch the server

$ make run

SDK

You can also use BoaviztaAPI directly in code with the SDKs: