atlassian-connect-express-redis

Redis adapter for Atlassian Connect Express

npm install atlassian-connect-express-redis
2 downloads in the last day
36 downloads in the last week
86 downloads in the last month

Atlassian Connect Express Redis Adapter

This is a basic Redis adapter for Atlassian Connect Express. You can use it in place of the default JugglingDB adapter. Using this will allow you to store your Connect client information into Redis. JugglingDB provides a Redis adapter, but the problem is that your data will be stored in JugglingDB's format which is more complicated than it should be inside of Redis.

To use, simply add the following dependency in your package.json:

"atlassian-connect-express-redis": "~0.1.0"

Then, in your config.json, specify your datastore:

"store": {
  "adapter": "redis",
  "url": "redis://user:password@localhost:6379"
}

Lastly, you'll need to register the adapter in your app.js:

ac.store.register('redis', require('atlassian-connect-express-redis'));

That's it.

Bugs?

File 'em or send me a PR.

npm loves you