Simple Express HTML application using a simple API for data
433
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.
npm install
# available http://localhost:3000
npm start
# Spin up PostGres, node-people-api, node-pet-api and node-people-web containers
docker-compose up
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
Content type
Image
Digest
Size
27.5 MB
Last updated
over 8 years ago
docker pull stevenalexander/node-people-web