An open API service indexing awesome lists of open source software.

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

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')
})
```