Full example¶
Here is a full working example with JWT authentication to help get you started.
Warning
Notice that SECRET should be changed to a strong passphrase. Insecure passwords may give attackers full access to your database.
SQLAlchemy¶
MongoDB¶
Tortoise ORM¶
Ormar¶
What now?¶
You're ready to go! Be sure to check the Usage section to understand how to work with FastAPI Users.