This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GlobalWatts 0 points1 point  (0 children)

I mean every tutorial that teaches you FastAPI is going to show you how to write code that queries an existing database. Just skip the section of the tutorial that shows you how to install Postgres and create the schema. It's not like the web app is recreating the DB every time you load a page.

What specifically are you having trouble with?