Spring-boot vs Hapi
When comparing Spring-boot vs Hapi, the Slant community recommends Spring-boot for most people. In the question“What are the best backend web frameworks?” Spring-boot is ranked 9th while Hapi is ranked 27th. The most important reason people chose Spring-boot is:
Boot is just a thin configuration layer over Spring Framework, as such it inherits all the strengths of Spring.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Inherits all of Spring's strengths
Boot is just a thin configuration layer over Spring Framework, as such it inherits all the strengths of Spring.
Pro Preconfigured starters
Pro Fast prototyping
Spring boot is built for fast prototyping.
Pro Kick down to Spring
Pro Backed by a major corporation
Hapi was developed and is still being used by Walmart. Being backed by such a major company means that it will not lose support any time soon and most importantly it's being developed by professionals and that you will always get support for it.
Pro Consistency across applications
Hapi's philosophy is that configuration is more important than code. This is especially useful for very large teams because it helps developers maintain consistency and reusability throughout their code.
Cons
Con Lacking in UI development
While actually very good and with a very complete and rich feature set to develop and maintain code on the server side, it still doesn't provide any rich framework for building good user interfaces.
Con Requires too much boilerplate
Hapi seems to be made with large applications in mind. The sheer amount of boilerplate code it requires is simply not practical for a small web app. This also means that there are few examples of Hapi applications around for beginners to learn from.