The code of this sample lives on GitHub. You can find more samples here.
Scalingo is the best Platform as a Service on the market: no server to install, no dependencies to install, just push your code!