Skip to content

A fastapi proxy to query several different APIs and unify their response through a single API interface

Notifications You must be signed in to change notification settings

freud-digital/frd-autocomplete

Repository files navigation

flake8 Lint Test codecov

frd-autocomplete

A fastapi proxy to query several different APIs and unify their response through a single API interface

install & develop

  • clone the repo
  • create a virtual environment virtualenv env
  • activate it source env/bin/activate
  • update pip pip install -U pip
  • install needed packages pip install -r requirements.txt

run

uvicorn app.main:app --reload (or simply ./startserver.sh)

test

./run_tests.sh

docker

build & run

  • docker build -t frd-ac .
  • docker run -d --name frd-ac -p 80:80 --env-file .env_secret frd-ac

or just run ./build_and_run.sh

use published image

docker run -d --name frd-ac-officical -p 80:80 --env-file env.secret ghcr.io/freud-digital/frd-autocomplete:main

About

A fastapi proxy to query several different APIs and unify their response through a single API interface

Resources

Stars

Watchers

Forks

Packages