[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
![Page 1: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/1.jpg)
Transitioning from Express.js to Hapi.jsOr why is configuration better than code
Shobhit Bakliwal @shobhitic
![Page 2: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/2.jpg)
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
![Page 3: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/3.jpg)
ExpressJSBut..
!
•Feels awkward for creating large apps
•No clarity on its future
•Very hard to test
•Difficult to modularize and share functions
![Page 4: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/4.jpg)
Hapi.js
![Page 5: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/5.jpg)
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
![Page 6: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/6.jpg)
Hapi.js
Bragging Rights
!
•100% code coverage
•Full-time dedicated team
•Great documentation
•Designed for Walmart scale
![Page 7: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/7.jpg)
Some live examples…
![Page 8: [Srijan Wednesday Webinars] Transitioning from ExpressJS to HapiJS](https://reader038.fdocuments.in/reader038/viewer/2022100603/559620ff1a28abfc5e8b461e/html5/thumbnails/8.jpg)
Shobhit Bakliwal @shobhitic
Thank You!