Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.47 KB

readme.md

File metadata and controls

37 lines (27 loc) · 1.47 KB

Example API

To be honest I would use PyCharm as an IDE for this project

Package Management - Poetry

Why poetry you ask?

Here's a nice read

Docker

The different required services (at least for now in local environment) are composed using - you guessed it- a docker-compose.local.yml file

The images that are being built for our own applications:

  1. API: FastApi image running on uvicorn
  2. Celery: Distributed Task Queue for running Background Tasks (outside of the HTTP context)
  3. Flower: monitoring tool for Celery (I dont really like the CLI)

Currently the images are built for 2 targets: development and production

I still need to implement appropriate .env files for the environments

Build and Compose

Now, to get started:

(if you have cloned the repository simply cd into repo)

docker compose -f docker-compose-local.yml  build --no-cache --force-rm && docker compose -f docker-compose-local.yml up

Resources