Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.rst

Tortoise-ORM FastAPI example

We have a lightweight integration util tortoise.contrib.fastapi which has a single function register_tortoise which sets up Tortoise-ORM on startup and cleans up on teardown.

Usage

uvicorn main:app --reload