/nodejs-cloudant

Sample Node.js application which uses Bluemix Cloudant NoSQL service

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Node.js Cloudant Sample

This application demonstrates how to use the Bluemix Cloudant NoSQL DB service. It helps users organize their favorite files. The UI talks to a RESTful Express CRUD backend API.

Deploy to Bluemix

Run the app locally

  1. Install Node.js
  • cd into this project's root directory
  • Copy the value for the VCAP_SERVICES envirionment variable from the application running in Bluemix and paste it in a vcap-local.json file
  • Run npm install to install the app's dependencies
  • Run npm start to start the app
  • Access the running app in a browser at http://localhost:3000