Public | Automated Build

Last pushed: a year ago
Short Description
Simple Express HTML application using a simple API for data
Full Description

Node People Web



Simple Express People HTML application using node-people-api for data.

Using as part of testing various build/containerisation PoCs.

Requires

Run

npm install

# available http://localhost:3000
npm start

Run in container

# Spin up MySql, node-people-api and node-people-web containers
docker-compose up

Test

Unit tests

npm test

e2e tests running with selenium standalone

# requires running application at http://localhost:3000
./node_modules/.bin/gulp e2e

e2e tests running via saucelabs (runs tests on Firefox and IE8)

export NODE_PEOPLE_WEB_SAUCE_USERNAME='MY_USERNAME'
export NODE_PEOPLE_WEB_SAUCE_ACCESS_KEY='MY_KEY'

./node_modules/.bin/wdio test/wdio.conf.sauce.js

Links

Docker Pull Command
Owner
stevenalexander
Source Repository