Skip to content

dimko/docker-training-samples-micro-sinatra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Sinatra Microservice

This is an example microservice written in Sinatra, intended to be used as part of 2hog's Docker trainings.

Spec

It implements a single endpoint (POST /), which:

  1. Requires basic authentication (configurable via the AUTH_USER and AUTH_PASSWORD environment variables)
  2. Returns a JSON response with a greeting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 90.6%
  • Dockerfile 9.4%