Skip to content

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[sqlalchemy2]'

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.

Back to top