Skip to content

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

Open ↗️

MongoDB

Open ↗️

Tortoise ORM

Open ↗️

Ormar

Open ↗️

What now?

You're ready to go! Be sure to check the Usage section to understand how to work with FastAPI Users.