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
This commit is contained in:
François Voron
2019-10-27 16:34:30 +01:00
committed by GitHub
parent 3875632c80
commit ab0b187f20
15 changed files with 255 additions and 14 deletions

View File

@ -27,9 +27,10 @@ Add quickly a registration and authentication system to your [FastAPI](https://f
* [X] Extensible base user model
* [X] Ready-to-use register, login, forgot and reset password routes.
* [X] Dependency callables to inject current user in route.
* [X] Customizable database backend
* [X] SQLAlchemy backend included
* [ ] MongoDB backend included ([#4](https://github.com/frankie567/fastapi-users/issues/4))
* [X] SQLAlchemy async backend included thanks to [encode/databases](https://www.encode.io/databases/)
* [X] MongoDB async backend included thanks to [mongodb/motor](https://github.com/mongodb/motor)
* [X] Customizable authentication backend
* [X] JWT authentication backend included