chkrishnatej / fastapi-backend

A template for FastAPI for building backend applications with Tortoise ORM, Postgres DB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

A template for FastAPI for building backend applications with Tortoise ORM, Postgres DB


Languages

Language:Python 91.1%Language:Dockerfile 4.7%Language:Shell 2.4%Language:Makefile 1.8%