Files
fastapi-users/docs/installation.md
François Voron ab0b187f20 Implement MongoDB database adapter (#29)
* Implement MongoDB adapter using motor

* Add mongo container to build pipeline

* Tidy up dependencies

* Update documentation for MongoDB

* Export MongoDB adapter from db package

* Pass black format

* Update README
2019-10-27 16:34:30 +01:00

364 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]

That's it! Now, let's have a look at our User model.