Skip to content

homegrownlabs/sim-sample-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Service for Simulation Testing

A simple web service targetted by the generated simulant test suite.

This service exposes four endpoints:

  • GET / - Returns 200 with JSON body containing the current service count.
  • GET /version - Returns JSON describing the service version.
  • PUT /inc - Increment the service count. Returns 204.
  • PUT /dec - Decrement the service count. Returns 204.

Running the Service

Via Docker:

$ ./run-service.sh

Via Node:

$ npm install
$ node app.js

Building the Service

$ ./build.sh

About

Sample Service for Simulation Testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published