/rest-hapi-demo

A simple demonstration of the rest-hapi plugin.

Primary LanguageJavaScriptMIT LicenseMIT

rest-hapi-demo

A simple demonstration of the rest-hapi plugin.

rest-hapi-demo-alt-optimized

(NOTE: For an alternative quick start, check out his awesome yeoman generator for rest-hapi.)

Requirements

You need Node.js installed and you'll need MongoDB installed and running.

Installation

clone the repo

$ git clone https://github.com/JKHeadley/rest-hapi-demo.git

install the dependencies

$ npm install

seed the models

$ ./node_modules/.bin/rest-hapi-cli seed

Using the app

start the api

$ npm start

view the api docs at

http://localhost:8080/