At some point, "an app" isn't what you need anymore.
Most software projects start small. A tool, a portal, a proof of concept. Then it works. Usage grows, customers depend on it, hardware gets plugged in, regulators take an interest, and suddenly you're not running an app anymore — you're running a platform. And the stack that got you here won't get you further.