feik / tifa

Yet another opinionated fastapi-start-kit with best practice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
    • socket.io by python-socketio
    • async and sync orm supported by sqlalchemy/alembic migration, use async when io bound need
  2. Much Less History Burden
    • newer sdk
    • newer python (3.9+)
    • 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

About

Yet another opinionated fastapi-start-kit with best practice

License:MIT License


Languages

Language:Python 97.1%Language:JavaScript 1.2%Language:Makefile 0.8%Language:Dockerfile 0.3%Language:HTML 0.3%Language:CSS 0.2%Language:Mako 0.2%