Skip to content

AliSayyah/FastAPI-Piccolo-Template

Repository files navigation

FastAPI-Piccolo project template

  • Amazing FastAPI framework.
  • Full Docker integration
  • Docker Compose integration and optimization for local development.
  • JWT token authentication.
  • Secure password hashing by default.
  • Piccolo Admin frontend
  • Piccolo async ORM
  • simple CI/CD

See each project's documentation for more information.

Setup

build the containers

docker-compose build

run the server for local development

docker-compose up

Running tests

docker-compose run web sh -c "pdm run test"

todo:

  • add load balancer (Traefik)
  • add caching mechanism
  • add celery and flower for monitoring jobs
  • add pgadmin
  • full CI/CD actions
  • Gunicorn integration for single server mode
  • Docker swarm integration + kubernetes for cluster mode
  • CookieCutter