Skip to content

0legRadchenko/FastAPI_Tortoise_template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic FastAPI Template

Includes

- FastAPI

- TortoiseORM

- Aerich

- User model + JWT auth

- Registration + password reset emails

- Logging to files

- Celery

- Alpine Dockerfile

- Docker-compose files

- NGINX + certbot

Installation

Copy template.config.py -> config.py and fill in

Specify all apps in config.applications (django style). Model searching will be performed in the path app.applications.APP_NAME.models

Generate SECRET_KEY (can be done with the command openssl rand -hex 32)

Certificates can also be generated with a script from the repo ( #TODO guide )

About

FastAPI - Tortoise ORM - Celery - Docker template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.7%
  • HTML 40.8%
  • Shell 6.3%
  • Dockerfile 2.9%
  • Makefile 1.3%