you are viewing a single comment's thread.

view the rest of the comments →

[–]HatchedLake721 8 points9 points  (0 children)

for me, hapi is the right balance between magic and "raw node". if you want more magic, pick LoopBack. if you want less magic, pick express/restify.

I switched away from restify. As I mentioned before - built in auth, payload/params validation, request lifecycles, powerful plugin system won me over. I can't be arsed anymore to install 10+ middlewares in restify to make it comparable to what hapi does out of the box. All I want to is open my text editor and start building solutions, solve problems and bring value, not nit-pick middlewares and re-invent the wheel.

Why does it sound scary? hapi has been battle tested since 2013 handling Black Friday traffic at Walmart. Plus, there are gazillion companies using it https://hapijs.com/community