/fast-api-template

A Fast-api template with asynchronous queries, migration and oAuth2

Primary LanguagePython

Fast-api-template

A Fast-api template with asynchronous queries, migration and oAuth2

How to use it

Go to the directory where you want to create your project and run:

pip install cookiecutter
cookiecutter https://github.com/GuilhermeVBeira/fast-api-template

Install dependencies.

We use poetry to manage dependencies, so make sure you have it installed.

make install

Create .env

cp default.env .env

After create database test and set on .env file Update the values of databases and SECRET_KEY

Sync migrations

make migrate

Run

make run

Thanks

Thanks fvlima, all this template is based on your example