mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-15 11:11:16 +08:00
32 lines
522 B
Markdown
32 lines
522 B
Markdown
# Installation
|
|
|
|
You can add **FastAPI Users** to your FastAPI project in a few easy steps. First of all, install the dependency:
|
|
|
|
## With SQLAlchemy support
|
|
|
|
```sh
|
|
pip install 'fastapi-users[sqlalchemy2]'
|
|
```
|
|
|
|
## With MongoDB support
|
|
|
|
```sh
|
|
pip install 'fastapi-users[mongodb]'
|
|
```
|
|
|
|
## With Tortoise ORM support
|
|
|
|
```sh
|
|
pip install 'fastapi-users[tortoise-orm]'
|
|
```
|
|
|
|
## With ormar support
|
|
|
|
```sh
|
|
pip install 'fastapi-users[ormar]'
|
|
```
|
|
|
|
---
|
|
|
|
That's it! Now, let's have a look at our [User model](./configuration/models.md).
|