Monty Hall sample Spring MVC REST API
Java Groovy
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cors
src/main
.gitignore
README.md
Sample Interaction.txt
build.gradle
cargo.gradle

README.md

Monty Hall Problem (Let's Make a Deal) Spring REST API Sample App

This sample application implements a REST API for playing the "Let's Make a Deal" game, famous as the Monty Hall problem.

It uses a gradle based build. You will need to create a gradle.properties file in the project root directory with the following contents:

# Cloud Foundry

cloudfoundryUserName = your-user-name
cloudfoundryPassword = your-password
cloudfoundryAppName  = your-app-name (e.g. monty-hall)
cloudfoundryTarget   = http://api.cloudfoundry.com

# Tomcat
tomcat6 = path to your local tomcat installation

To build and run type 'gradle build cargoRunLocal'. To deploy to Cloud Foundry 'gradle cf-push'.