/api-example

API Example for Hapi + NodeJS

Primary LanguageJavaScriptMIT LicenseMIT

api-example

--

API Example using NodeJS and HapiJS

--

System Requirements:

NodeJS, npm - https://nodejs.org/
Git (OSX), Git Bash (windows) - https://git-scm.herokuapp.com/downloads

Optional Windows Utils:

Sublime Text - https://www.sublimetext.com/
CYGWIN - https://www.cygwin.com/

Install Node Modules:

1. Open Terminal (OSX), or Git Bash (Windows)

> cd <path_to>/git/api-example/

> npm install

Start API Server:

> node server.js

navigate to http://localhost:3000/tests