This repository contains code examples for the hapi tutorial series that is published within the Future Studio University.
You need the following tools installed on your machine to actually run the individual examples:
- Node.js v4+
- NPM
To set up the required environment, just clone this repository to your local machine and install the NPM dependencies.
$ git clone [email protected]:fs-opensource/nodejs-tutorials-hapi.git
$ cd nodejs-tutorials-hapi
$ npm i
Every example code contains its own hapi server that kicks off at localhost:3000
.
$ cd examples
$ cd <your chosen example>
$ node server
Many examples allow you to check them out within the browser. Navigate your browser to the url localhost:3000
with a running example server in the background.
Don't worry, just let us know :) You can file an idea within our university-ping repository and let us know about anything you're interested to see!
Enjoy coding & make it rock!