The node.js & cassandra based messaging service which uses TTL in cassandra to automatically delete messages, cool right
This was a 2 hour hack project during a training session with DigBigData, so please don't judge, enjoy and hope it helps you.
- Node.js
- Cassandra (See below if not installed)
The following plugins are required
- express
- socket.io
- node-cassandra-cql
To install these run
npm install express
npm install socket.io
npm install node-cassandra-cql
Run
./startServer.sh
To update the config, add it startServer.sh
- CASSANDRA_HOST
- CASSANDRA_KEYSPACE
Run vagrant to setup local cassandra cluster
vagrant up
NOTE
You need to have vagrant and berkshelf installed
You need run the cql/bigchat.cql to create the KEYSPACE and TABLE
Navigate to http://localhost:3000
You can register on the left hand side
Once registered chat away
Enjoy