Can you build the best B2B SaaS with just any stack?
Here's what matters.
When developers ask on forums what stack to use for their project, the common advice is, "Go with what you know best." While this is generally true, there are a few important considerations.
1. Some tools are great for the early stages but can become a burden when it’s time to scale.
It’s not uncommon for teams to launch an MVP and, after securing investments, discard the first version to rebuild with a more scalable stack that can handle increased load and team growth. This isn’t a failure; it’s part of the process, and it confirms that it’s okay to start with what you know. But as the project grows, you might need to consider migrating.
2 . Not every tool fits every architecture.
For example, Strapi can be slow to launch, making it a less-than-ideal choice for serverless environments. Django is better suited for monolithic applications than for microservices. This doesn’t mean Django can’t handle high-load, scalable projects, but it’s important to understand its best use cases and build accordingly.
No one can predict exactly where the project will go, so don’t be afraid or embarrassed if you need to pivot along the way.
I prefer working with open-source tools that provide transparency into how they work and don’t hide the architecture behind complex abstractions. Sometimes, this means doing more things manually, but the control it gives me is worth it.
- Django has an open codebase that I can read and modify. When Django is running in production, I can trace exactly how a request is processed. It doesn’t hide the database or the file system from me; instead, it simplifies working with them. I’ve had numerous moments where, under heavy load, something went wrong, and being able to trace and fix the issue was a huge advantage.
- Next.js works well but can be a bit intimidating. It takes my code and does some "magic" with it. While it works well when it works, understanding why something breaks is much harder when it doesn’t behave as expected.
- We've done a lot of MVPs with Keystone, but it hides the work with the database from us a bit and strongly imposes its project structure. When the code base grows, it quickly starts to put pressure.
- We also work extensively with Node.js. While there isn’t yet a full-stack framework like Django or Rails, it offers many separate tools that allow for the creation of scalable systems.
In the end, the right stack is about understanding your project’s long-term needs and selecting tools that can evolve with it.
It’s important to stay flexible and ready to adapt as the project progresses.