hapi
Description
npm install hapi --save. Create a server.js file with the following contents: 'use
strict'; const Hapi = require('hapi'); // Create a server with a host and port const
server = Hapi.server({ host: '...localhost', port: 8000 }); // Add the route server.route({
method: 'GET', path:'/hello', handler: function (request, h) { return 'hello world'; } });Getting Started - API reference - Plugins - Updates Read moreless
Platforms
Links
Alternatives to hapi
Suggest an Alternative
Missing a software in the list? We are always happy if you help us making our site even better.
hapi Reviews
We have no reviews for hapi.
hapi Videos
Youtube Video: Hapi.js Framework Crash Course
In this under 40 minute crash course we will be talking about and working with the Hapi.js server side framework. Hapi js is similar to Express. We can setup routes, implement templates, work...
Disclaimer: This video was not made by us, but we found it interesting enough to embed it here.
Comments
Commenting on this article is disabled right now.
About This Article
This page was composed by Alternative.me and published by Alternative.me. It was created at 2018-05-01 23:58:31 and last edited by Alternative.me at 2020-03-06 07:51:37. This page has been viewed 3202 times.
Did you like this article about hapi? Please rate it!
3 of 4 liked this article. This is equivalent to a star rating of 3.75 / 5.