Node/Express > CouchDB
Apache CouchDB is a database that uses JSON for documents, JavaScript for MapReduce indexes, and regular HTTP for its API. This demo uses Node, Express, and Nano to connect to a test
CouchDB. If you do not have CouchDB installed, download it from the CouchDB site, start the database, and create a database called test
Usage
-
Download or clone this repository.
-
Navigate to the
CouchDB
directory using the command line. -
Run
npm install
to download and install all dependencies (Express, Nano, and ZingChart). -
Run
node server.js
to automatically import the data fromtest_data.json
and to start an Express app. -
Navigate to localhost:3000 in your browser to view the chart created with the test data.