Files
fastapi-users/docs/configuration/full_example.md
prostomarkeloff b5b0bbbb01 Tortoise ORM support (#59)
* add tortoise to dependencies

* add tortoise as optional dependency in pyproject.toml

* add tortoise support (tests needed)

* Add tortoise support (also defined orm_mode in pydantic model

* tests for tortoise support

* format by black

* docs for tortoise

* delete type annotations

* delete underscore

* do it in 1 line

* add 1 line before yield

* fix in docs

* fix bug and add annotation for test

* Tweak documentation and fix Tortoise error about id update

* Improve Tortoise coverage by using get instead of filter

* Fix Pipfile.lock
2019-12-03 21:24:27 +01:00

20 lines
404 B
Markdown

# Full example
Here is a full working example with JWT authentication to help get you started.
``` py tab="SQLAlchemy"
{!./src/full_sqlalchemy.py!}
```
```py tab="MongoDB"
{!./src/full_mongodb.py!}
```
```py tab="Tortoise ORM"
{!./src/full_tortoise.py!}
```
## What now?
You're ready to go! Be sure to check the [Usage](../usage/routes.md) section to understand how yo work with **FastAPI Users**.