DEV Community

Discussion on: Could Blitz.js be the next big JS framework?

Collapse
 
drmacsika profile image
Nsikak Imoh

The fact that this article promotes having a monolithic app as against API is problematic. Where does blitz stand in the future of micro services and severless architecture? How do you integrate it with a headless CMS?

Collapse
 
flybayer profile image
Brandon Bayer • Edited

We believe most apps should start as a monolith. In the early days of an app, fast development speed and getting users is way more important than having a perfectly, infinitely scalable architecture from day 1.

That said, Blitz already greatly improves on monoliths like Rails because Blitz can be ran serverless where each API endpoint is its own serverless function. So it's already serverless ready!

And over time we will be making Blitz more powerful, flexible, and well suited for enterprise environments and more complex backend architectures.

To clarify, there is an API, it's just abstracted into a compile step. So there's some magic there, but it's very minimal and easily inspected.

And you can integrate with a headless CMS in exactly the same way as any other React or Nextjs app.