r/flask • u/TutorialDoctor • Oct 03 '26
Show and Tell Open Source Flask Template App with CRUD using Peewee ORM for learning
There are lots of Flask CRUD template apps on GitHub I'm sure. I've been wanting to make one myself for a while from scratch that's relatively basic and easy to modify. Most of the repos I've seen don't demonstrate all entity relationships like One To One, One to Many and Many To many.
https://github.com/TutorialDoctor/flask-template-app
The "admin" panel has custom CSS but I kept all the other views basic so you can add your own style. Still a WIP but it's mostly there
7
Upvotes
2
u/KeyBack192 Oct 03 '26
Hey, thanks for sharing. What frontend are you using?
1
u/AllanSundry2020 Oct 03 '26
hi can you explain what it is for?
1
u/Filbert-Ireine 9h ago
Are you managing the database connection lifecycle with before and after request hooks here? Always curious how different templates structure the teardown logic so connections dont leak.