https://github.com/gutenye/rethinkdbdash-websocket
RethinkDB in Browser. #rethinkdb-websocket-client, #rethinkdbdash
https://github.com/gutenye/rethinkdbdash-websocket
Last synced: about 2 months ago
JSON representation
RethinkDB in Browser. #rethinkdb-websocket-client, #rethinkdbdash
- Host: GitHub
- URL: https://github.com/gutenye/rethinkdbdash-websocket
- Owner: gutenye
- License: mit
- Created: 2015-07-17T12:11:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-03T08:14:43.000Z (over 9 years ago)
- Last Synced: 2025-03-16T22:37:19.650Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 152 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Forked from [rethinkdb-websocket-client](https://github.com/mikemintz/rethinkdb-websocket-client), uses [rethinkdbdash](https://www.npmjs.com/package/rethinkdbdash) instead of [rethinkdb](https://www.npmjs.com/package/rethinkdb).
Usage
-----Setup a simple server that proxy websockets to RethinkDB
```
$ websockify localhost:8015 localhost:28015
```Use it with webpack
```
var r = require('rethinkdbdash')({
port: 8015
})
r.table('users').count().run().then(function(user) {
console.log('user')
})
```