r/SpringBoot • u/Houssem0501 • Mar 26 '26
Question Backend choice for LMS startup: NestJS or Spring Boot?
Hello,
I’m building an LMS and trying to choose between NestJS and Spring Boot.
The app is more than a basic course website. The platform will eventually have student, parent, and institution portals, plus subscriptions, video lessons, quizzes, downloadable materials, live classes with recordings, notifications, payments/wallet, and later teacher tools + analytics.
I’m trying to choose the backend that will be best for:
- long-term maintainability
- scaling
- clean architecture
- complex business logic
- development speed
NestJS feels attractive because I like the TypeScript ecosystem and it seems fast to build with.
But in contrast Spring Boot looks more solid for large applications.
For those who’ve built real production systems, which would you pick for this kind of product, and why?
Thank you!
14
u/funnythrone Mar 26 '26
If you ask on the SpringBoot sub, don’t be surprised if you get recommended SpringBoot.
SpringBoot comes with a lot of stuff out of the box, it is widely used, has a large community and decent documentation. If you are using a LLM Coding assistant, it will handle most of the verbose boilerplate as well.
5
u/R4M1N0 Mar 27 '26
I personally strongly dislike typescript (javascript) on the backend. Typescript ecosystem is even worse of a dependency hell than JVM languages, I personally couldn't sleep too well, getting pwned by a supply chain attack for my backend. (Not that it cannot happen in the JVM-sphere, just that npm is a much more lucrative target)
Since you are building a startup, and velocity is likely a key factor, you should just pick what you/your team is more comfortable with
3
u/WVAviator Mar 27 '26
I've used both, and I like them both. They are both robust and use great patterns. There are a couple main reasons I would go with Spring Boot though:
There are lots of other reasons I'd go with Spring Boot - great testing tools, aspects, etc., but these two are the main ones. Otherwise they're very similar and learning one will help you better understand the other. So if you want to start with NestJS since you're comfortable with Typescript, go for it. You'll learn the patterns and then be able to easily pick up SB. That's what I did.
1
u/Ok_Hospital_5233 Mar 30 '26
Spring boot is heavy duty and for jobs. Next js is more niche and I don't se people using it very often.
1
u/InstantCoder Mar 27 '26
Go for Quarkus instead if you choose Java. We dropped SB completely and we don’t use it anymore.