A web server using nodejs and hapi module.
- NodeJS
- Node Package Manager (NPM)
- Hapi Module
- Install NodeJS.
sudo apt install nodejs
- Install Node Package Manager (NPM).
sudo apt install npm
- Install NPM Module.
npm install
npm run start
Output:
> hapi-web-server@1.0.0 start
> node server.js
Server berjalan pada http://localhost:5000