Sign inSign up

stevenalexander/node-people-web

By stevenalexander

Updated over 8 years ago

Simple Express HTML application using a simple API for data

Image
0

432

stevenalexander/node-people-web repository overview

Node People Web

BuildStatus JavaScript Style Guide NSP Status

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

node-pet-api is an optional dependency which if unavailable means the user cannot submit a pet response when creating a person.

Using as part of testing various build/containerisation PoCs.

Requires

Run

npm install

# available http://localhost:3000
npm start
Run in container
# Spin up PostGres, node-people-api, node-pet-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

Tag summary

Content type

Image

Digest

Size

27.5 MB

Last updated

over 8 years ago

docker pull stevenalexander/node-people-web