Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Brian-McBride/deepstream.io-storage-arangodb

ArangoDB storage connector for deepstream.io
https://github.com/Brian-McBride/deepstream.io-storage-arangodb

Last synced: about 2 months ago
JSON representation

ArangoDB storage connector for deepstream.io

Awesome Lists containing this project

README

        

# deepstream.io-storage-arangodb [![npm version](https://badge.fury.io/js/deepstream.io-storage-arangodb.svg)](http://badge.fury.io/js/deepstream.io-storage-arangodb)

[deepstream](http://deepstream.io) storage connector for [arangodb](https://www.arangodb.com/)

##Basic Setup
```yaml
plugins:
storage:
name: arangodb
options:
username: 'deepstream_user'
password: 'mySuperSecret'
databaseURL: 'http://127.0.0.1:8529'
databaseName: 'myDatabase'
defaultCollection: 'someCollection'
splitChar: '/'
```

```javascript
var Deepstream = require( 'deepstream.io' ),
ArangoDBStorageConnector = require( 'deepstream.io-storage-arangodb' ),
server = new Deepstream();

server.set( 'storage', new ArangoDBStorageConnector( {
username: 'deepstream_user',
password: 'mySuperSecret'
connectionString: 'http://127.0.0.1:8529',
splitChar: '/'
}));

server.start();
```