Skip to content
forked from hylarucoder/tifa

Yet another opinionated fastapi-start-kit with best practice

License

Notifications You must be signed in to change notification settings

data-python/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
    • 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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.0%
  • JavaScript 1.2%
  • Makefile 0.8%
  • Dockerfile 0.3%
  • HTML 0.3%
  • CSS 0.2%
  • Mako 0.2%