This example simply opens a conection to a mongoDB and then creates a websever. It logs where the connections came from and where the webapp that served them was running.
npm install; npm start
grunt nodeunit
A good reference for playing around with OpenShift and extending this code can be found by following this link
Note: this repo contains a Dockerfile, but it is not needed for OpenShift deployments because S2I handles all that for you.