Update Flask Website on Database change

Hi there!

I'm starting a new project where I'd like to show the content of my database rows as seen here: a row contains the image, the number of downloads and the date it was created; https://i.imgur.com/IrFoSYp.png but I'd like the list of tiles to update whenever one row is added.

I looked into maybe using RealTime? I read that I could use websockets to listen to postgresql notify but I'm not really sure which route to take. Has anyone had a project needing this type of setup?

All advice would be amazing ❤️

Thanks!
Was this page helpful?