https://github.com/codeforgeek/polling-app-using-nodejs-rethinkdb
Building real time polling application using RethinkDB and Node.js
https://github.com/codeforgeek/polling-app-using-nodejs-rethinkdb
Last synced: about 1 year ago
JSON representation
Building real time polling application using RethinkDB and Node.js
- Host: GitHub
- URL: https://github.com/codeforgeek/polling-app-using-nodejs-rethinkdb
- Owner: codeforgeek
- License: gpl-3.0
- Created: 2016-02-16T11:12:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-07T06:22:21.000Z (over 10 years ago)
- Last Synced: 2025-04-01T19:59:59.779Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://codeforgeek.com/2016/03/building-real-time-polling-app-rethinkdb-nodejs
- Size: 1.6 MB
- Stars: 18
- Watchers: 4
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
* https://codeforgeek.com/2016/02/getting-started-with-rethinkdb/
* https://codeforgeek.com/2016/03/building-real-time-polling-app-rethinkdb-nodejs