rv-ember-server-proxy
v1.1.2
Published
Simple HapiJS Server that sits in-front of ember.
Downloads
3
Readme
Node Ember Server
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.
Local Config
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.
Install
Globally
npm install -g rv-ember-server-proxy
Project
npm install rv-ember-server-proxy --save
Run
Globally
rv-serve
Project
./node_modules/rv-ember-server-proxy/bin/server