This is an example microservice written in Sinatra, intended to be used as part of 2hog's Docker trainings.
It implements a single endpoint (POST /
), which:
- Requires basic authentication (configurable via the
AUTH_USER
andAUTH_PASSWORD
environment variables) - Returns a JSON response with a greeting