r/flask 10d ago

Ask r/Flask What features should all flask apps have?

I've been programming for about a year and a half now and built a small flask app to manage my music business. Basically a management application with some API integration and sqlalchemy. The app now works fine and is stable, but I'm wondering if there are any features/functions/etc. that all flask apps should have implemented, that don't seem obvious to a beginner like me. Cybersecurity and complex algorhithms still go a bit beyond my understanding, but I wanna make my app as secure, stable and reliable as possible.

11 Upvotes

10 comments sorted by

2

u/ZealousidealGrass365 10d ago

Blueprints and wraps. They’re kinda basic idk if it’s something everyone uses or not.

1

u/[deleted] 9d ago

[deleted]

1

u/ZealousidealGrass365 9d ago

Protected content is what I’ve used them for.

1

u/Status-Fold-6860 7d ago

Im using wraps for login required and admin required pages. Any further implementations I could utilize to make the project more managable?

2

u/loftybillows 10d ago

2

u/irishmrmagpie 10d ago

This seems to be the more up-to-date fork: https://github.com/wntrblm/flask-talisman

(I don't use this package myself, but comments in the issues of the GCP package indicate this is the maintained version)

1

u/Status-Fold-6860 7d ago

is this is a "one and done" type of protection or is any maintenance and integration into the app required?

1

u/justinf210 10d ago

How are you serving it? Is it using app.run() or is it being served by a "real" server?

1

u/Status-Fold-6860 10d ago

I'm using app.run() on a remote computer with ubuntu via ssh

1

u/Clementoj 8d ago

Flask site mapper extension is handy