app structure

How should I organize my Flask app code?

Hey everyone! I'm currently building a Flask application, and everything is crammed into a single file named `app.py`, which has surpassed **3000 lines**. It contains all my routes,…