Not every web application is well-suited to be a SPA. Frankly, only a minority are.
Even if you ARE putting most logic on the client-side, you will always need endpoints to provide server-side functionality.
By the time you've finished writing interceptor middleware, proper CSRF protections, and other things you'll need in a real-world application... you will have written your own MVC framework. And probably done a far more lousy job than the people who focus on that full-time.
A fairly basic server-side framework is only "huge technical debt" if you're an unemployed college student tinkering with "TodoMVC" examples.
Even if you ARE putting most logic on the client-side, you will always need endpoints to provide server-side functionality.
By the time you've finished writing interceptor middleware, proper CSRF protections, and other things you'll need in a real-world application... you will have written your own MVC framework. And probably done a far more lousy job than the people who focus on that full-time.
A fairly basic server-side framework is only "huge technical debt" if you're an unemployed college student tinkering with "TodoMVC" examples.