Skip to content

devspaces-samples/nodejs-mongodb-sample

Repository files navigation

NodeJS-MongoDB-Sample

A simple NodeJS web application which communicates with MongoDB. Useful for testing Eclipse Che Node workspace.

This example was adapted from https://github.com/GoogleCloudPlatform/cloud-code-samples/tree/master/nodejs/nodejs-guestbook

MongoDB

The application connects to the Mongo data base, so it should be configured with next parameters:

  • MongoDB user - user
  • MongoDB password - password
  • The name of data base - guestbook

Run the application