As I begin to move from using Dash as a personal side-project to using it for full-fledged client-facing web applications, I’m questioning how best to fit it into the big picture. Big thanks to @TheToddfather for sharing this informative (and funny!) blog post about flipping the tables on Flask and Dash.
“we cannot start our app as an instance of Dash and attempt to work around it. Instead, we must create a Flask app, and put Dash in its place as an app embedded in our app. This gives us full control over when users can enter the Dash interface, and even within that interface, we can still manage database connections or user sessions as we see fit.”
I’ve been looking for a way to embed a Dash app inside a bigger project (with a login system, or a subscription based app for example) for a while, nice to see other people working on this same problem!