/rethink-poll

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Realtime polling app using Node and RethinkDB

RethinkDB is database engine designed for real time time web. In this codebase you will get complete codebase to develop polling app using Nodejs and rethinkDB.

This app will let use to.

  • Add new poll.
  • Allow user to vote on any poll.
  • Show live voting result.

How to run the code

Make sure you have RethinkDB installed in your system. Run rethinkDB server by running following command.

rethinkdb

You need bower installed globally in your system to get the required user interface libraries. Run following command to install it globally.

npm install bower -g

Go to project directory and run following command to install all node module.

npm install

After installation, run the node application using following command.

node app.js

Visit localhost:3000 to view the app.

Tutorial