How to install Hapi.js?

Hapi.js is the Simple, Secure and Open Source Framework for web applications. You can build the powerful, scalable applications, APIs and HTTP Proxy applications with Hapi.js.

Prerequisites
– Node.js
Download Node.js from
https://nodejs.org/en/download/

Install Hapi framework
Create new directory
$ mkdir project
$ cd project

Generate the package.json file
$ npm init

Install latest version of Hapi
$ npm install @hapi/hapi

That’s it. See u @next post for how to create Hapi server.
Original Creator: Eran Hammer from WalmartLabs
Ref: https://hapi.dev/tutorials/?lang=en_US

Leave a Reply

Your email address will not be published. Required fields are marked *