Server-Side Development with Hapi.js — Rendering Views

Photo by Vinicius Wiesehofer on Unsplash

Hapi.js is a small Node framework for developing back end web apps.

In this article, we’ll look at how to create back end apps with Hapi.js.

Rendering a View

We can render a view with the h.view method.

For example, we can write:

--

--

--

Web developer. Subscribe to my email list now at https://thewebdev.info/subscribe/. Email me at hohanga@gmail.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Developing Vue Apps with the Quasar Library — Drag Range and Time Picker

Advanced React Component Patterns

Custom Clock using CustomPaint Widget.

Deno’s native (hyper) vs Node’s native HTTP servers

Create a Grocery List App with React and JavaScript

AEM: Caching with Service Workers and Google’s Workbox Library

JavaScript Clean Code — Functions and Convention Heuristics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
John Au-Yeung

John Au-Yeung

Web developer. Subscribe to my email list now at https://thewebdev.info/subscribe/. Email me at hohanga@gmail.com

More from Medium

Use Fetch API in JavaScript

What Is the Back-End in the M.E.R.N. Stack (Express and CRUD operations)?

How to Scrape Glassdoor Data with Node.js

Multiple Pointers Using JavaScript