turing-example
v0.50.0
Published
An example of how the turing-microservice can be used.
Downloads
127
Readme
turing-example
An example of how the turing-microservice can be used.
Setup
Install dependencies:
$ npm install
Build
For compiling the assets:
$ npm run build
Startup
Start the server:
$ npm run start
For starting the server in dev mode with hot reloading:
$ npm run watch
Then open a browser and visit:
- Demo Index Page - http://localhost:8080/turing-example/
- Status Page - http://localhost:8080/turing-example/internal/status
- Health Check - http://localhost:8080/turing-example/internal/health
Testing
Test server and client
$ npm test
This also:
runs eslint, tslint & stylelint
creates coverage reports when called with:
$ npm test -- --coverage
Test e2e
Start your Application as usual.
Install local webdriver tools.
$ npm run webdriver:install
Start your local webdriver:
$ npm run webdriver:start
Test:
$ npm run test:e2e
Dependency Update
Use npm-check's interactive update.
$ npm-check -E -u
Contributors
- Benedikt Stemmildt
- Jonathan Meyer
License
Apache-2.0