This is a simple HapiJS server that we use running infront of a single page Ember app. Its purpose is to setup the Api Token and Secret Key needed to communicate with the Recruiting Ventures API. The only route is to index.html
and the route returns the authToken
and apiKey
in cookie form.
An example local config is included. Just remove the .example
. This file is meant to contain the secret you'll use to hash the apiToken
, but it includes various other variables that coule change should you see fit.
npm install -g rv-ember-server
npm install rv-ember-server --save
rv-serve
./node_modules/rv-ember-server/bin/server