gigya / node-gigya-boilerplate

Boilerplate Node.js App using the Gigya accountJS Raas service
2 stars 1 forks source link
babel chimp cucumberjs e2e-tests gherkin gigya gigya-client mocha nodemon

Node Gigya Boilerplate

Travis CI status

Boilerplate Node.js App using the Gigya accountJS Raas service. This project is intended to be used as a starting point for anyone working with the gigya platform on node.js

Support: raise an issue on github https://github.com/maxmckenzie/node-gigya-boilerplate/issues

Features

Install Dependencies

The blow steps are for OSX, but you could replace brew with yum or apt-get and it should still work.

Windows user: your on your own with how to install but you still need the below installed. Also be aware that some of the commands in the packages.json may not work on a windows box. Linux or OSX is suggested for this Boilerplate.

You should use node v6.10.1 Long term support or cucumber will not report errors correctly

Install App

Run Dev

This boots the app runs the unit and e2e tests. Then uses nodemon to wait for changes. When a change happens the node server is rebooted and the tests are run again

mocha --watch and similar has an issue. To run the server on test you need to add an import to the test.js file. When watching this cause a EDDRINUSE error (the server is already booted). running the stack with nodemon avoids this

Production

ToDo