/fastapi-tortoise

The template for building scalable web APIs based on FastAPI, Tortoise ORM and other.

Primary LanguagePythonMIT LicenseMIT

FastAPI and Tortoise ORM.

Powerful but simple template for web APIs w/ FastAPI (as web framework) and Tortoise-ORM (for working via database without headache).

Features

* Deploy with Docker.
* Local development with docker-compose.
* Fast and powerful web framework and ORM.
* Clear and fast code.
* Some powerful utils out-of-the-box that highly customizable with tests.

How to use?

  1. Clone this repository (git clone https://github.com/prostomarkeloff/fastapi-tortoise)
  2. Rename .env.example to .env
  3. Delete unnecessary code (like hello router and tests for it)
  4. Customize!