Real life examples of complex applications
Stay with Python (Flask) or learn JavaScript for web app?
I am confused a bit. Why should I use flask when instead I can use html, css and javascript to make an interactive webapp? I am confused how I should proceed with my project.
Where Can I Host My Flask Web App for Free?
www.pythonanywhere.com has a generous free tier
More on reddit.comVideos
Are there some good examples of real applications (not hello world todo/blog post or tutorials) of Flask applications, from where a new flask user could learn best practices from?
Flask doesn't force any design patterns or specific ways to do anything on me, and that leaves me wondering about what are the best ways to do something. How do I split up the routes file from all-routes-in-a-file.py to something more manageable, how do I validate input requests coming from a JS front-end, what are the best practices for doing thing X and Y, that I haven't even thought about yet.
Background information: I am writing a back-end api for a Vue frontend, there are no templates in the flask app, I am using JWT for authentication already. I think I don't need blueprints, because I don't have any templates to separate from the other things. I just don't want to bunch all my routes together in a huge file, like.. all the examples on the internet do.
I have found some open-source flask examples, but they seemed to be doing something weird, or.. were really outdated.
Or should I just write my back-end in Java and Spring, since that is used at work, and I can steal ideas and patterns from work projects? Wanted to use flask, to not have to deal with the massiveness of Spring and Java.