mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-15 03:04:27 +08:00

* Add db adapter for ormar (wip) * finish ormar support enough to pass tests * remove idea folder * update ormar version in tool.flit.metadata.requires-extra * Add documentation about ormar * Apply isort and black formatting * Restore python 3.7 in Pipfile * Update build.yml * Add missing test for ormar update * changes after review Co-authored-by: Paolo Dina <paolo.dina@codingmoth.com> Co-authored-by: collerek <collerek@gmail.com>
512 B
512 B
Installation
You can add FastAPI Users to your FastAPI project in a few easy steps. First of all, install the dependency:
With SQLAlchemy support
pip install fastapi-users[sqlalchemy]
With MongoDB support
pip install fastapi-users[mongodb]
With Tortoise ORM support
pip install fastapi-users[tortoise-orm]
With ormar support
pip install fastapi-users[ormar]
That's it! Now, let's have a look at our User model.