This is a simple Ruby on Rails app used as an example of a frontend microservice. The app contains just two endpoints:
- The root URL (
/
) calls the sinatra-backend microservice and renders the returned text as HTML. - The
/health
URL is a health check endpoint that returns a 200 OK. The ELB uses this endpoint to determine if the app is up and running.
This app contains a Dockerfile that packages the app as a Docker container.
See the root README file for instructions on how to run this app.