Skip to content
A simple demonstration of the rest-hapi plugin.
Branch: master
Clone or download
Latest commit 319903d Jan 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api Updated to rest-hapi v1.x Jun 13, 2018
.gitignore
LICENSE.txt
README.md Update README.md Jan 17, 2019
api.js - Added verbose validation error response Jun 23, 2018
package-lock.json Updated to rest-hapi v1.x Jun 13, 2018
package.json

README.md

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/

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.