/python-api-production-ready

Starting point for every python project that includes an API with FastAPI

Primary LanguagePythonMIT LicenseMIT

FastAPI Boilerplate

Starting point for every python project that includes an API with FastAPI. Inspired by this article.

Objective

The objective of this repo is to host a forkable micro-service base for a python API made with all the best practices, ready to go into production.

Structure

  • Nginx as reverse proxy / load balancer
  • FastAPI as web app
  • RabbitMQ as Job Broker
  • Celery as Job Worker
  • Redis as Results Cache