Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 651 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 651 Bytes

Node.js and MongoDB example

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.

Screenshot

Usage

  npm install; npm start

Run nodeunit tests

  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.