Skip to content

Yet another opinionated fastapi-start-kit with best practice

License

Notifications You must be signed in to change notification settings

hylarucoder/tifa

Repository files navigation

Tifa

Yet another opinionated fastapi-start-kit with best practice

tifa

for my goddess -- Tifa

Feature

  1. Async! Async! Async!
    • async web framework by fastapi
    • async orm tortoise orm
    • htmx && tailwind && alpinejs
  2. Much Less History Burden
    • newer sdk
    • newer python (3.11+)
    • newer docker compose way for developing experience
  3. Best Practice
    • try automate every boring stuff with makefile/docker
    • embeded ipython repl for fast debugging and code prototype
    • type hint
    • build with poetry

Quick Setup

poetry install
# build local docker image
make build-tifa
# make start
make debug

Credits

  1. saleor
  2. https://github.com/ryanwang520/create-flask-skeleton
  3. https://github.com/tiangolo/full-stack-fastapi-postgresql