[Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS
Click here to load reader
-
Upload
srijan-technologies -
Category
Documents
-
view
2.319 -
download
0
description
Transcript of [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS
Transitioning from Express.js to Hapi.jsOr why is configuration better than code
Shobhit Bakliwal @shobhitic
ExpressJSThe good parts
!
•Very easy to get started
•No configuration code required
•Actively maintained for a long time
•Great for new developers to jump right in
ExpressJSBut..
!
•Feels awkward for creating large apps
•No clarity on its future
•Very hard to test
•Difficult to modularize and share functions
Hapi.js
Hapi.js!
•Created around the idea that configuration is
better than code
•Configuration is shareable among routes
•Write business logic with full confidence
•Makes it very easy to test routes
Hapi.js
Bragging Rights
!
•100% code coverage
•Full-time dedicated team
•Great documentation
•Designed for Walmart scale
Some live examples…
Shobhit Bakliwal @shobhitic
Thank You!