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
-
Download or clone this repository.
-
Navigate to the
CouchDBdirectory using the command line. -
Run
npm installto download and install all dependencies (Express, Nano, and ZingChart). -
Run
node server.jsto automatically import the data fromtest_data.jsonand to start an Express app. -
Navigate to localhost:3000 in your browser to view the chart created with the test data.