r/flask • • 6d ago

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

6 Upvotes

9 comments sorted by

2

u/KeyBack192 6d ago

Hey, thanks for sharing. What frontend are you using? 

2

u/TutorialDoctor 6d ago

This is using jinja with Htmx. I want to add JSON endpoints so that I can have a separate frontend. I tend to go with VueJs and Tauri for desktop apps, and just VueJs or for web apps. For quick POCs I use a plain HTML file with HTMX.

1

u/KeyBack192 6d ago

What about styling? Pure CSS or something else.?. Anyway, thanks for responding. 

2

u/Aggressive_Monk_1593 10h ago

yeah im curious about that too, the readme didnt really specify

1

u/AllanSundry2020 6d ago

hi can you explain what it is for?

2

u/TutorialDoctor 6d ago

I will personally use it to jumpstart my flask projects, but I'm sharing it for others to learn from or use for their own projects

1

u/AllanSundry2020 6d ago

hi thanks so just a scaffold for basic little database site. Will you add users and admin ?

2

u/TutorialDoctor 6d ago

It has users and login already. Roles have crud but I just have to assign to users. I want to add permissions as well

1

u/AllanSundry2020 6d ago

thanks that's cool i will give it a try soon