Accessing Cassandra through NodeJS
Below are the steps to enable web access of Cassandra DB -------------------------------------------------------- 1. install Cassandra DB from apache cassandra 2. install nodejs 3. install the required modules a) http - npm install http b) cassandra - npm install cassandra-driver c) express - npm install express d) body-parser - npm install bodyParser 4. create a nodejs file E.g. myserver.js 5. now add following lines a) first need to list the required modules var express = require('express'); var bodyParser = require('body-parser'); var cassandra = require('cassandra-driver'); Note: Put actual path of the driver if not in current directory. E.g 'D:\\Node-modules\\express'). \\ is required b) declare a c...