Skip to content

foundersandcoders/hapi-intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Author: @msachi

Maintainer: @msachi

hapi.js - introductory code-along

Before we start, please clone this repo. It contains the public folder with some example files (html,css,js) which we will practice serving using hapi. If you prefer you can create your own public folder with arbitrary files.

The code-along will be based largely on this hapi tutorial.

We will cover the following:

  1. Setting up a new project
  2. Creating a server
  3. Adding a 'Hello, world' route
  4. Adding a route that renders user-provided data
  5. Serving a static page with inert
  6. Serving multiple public files
  7. Breaking the code up into modules

Further resources:

About

An introductory code-along for hapi.js framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published