https://github.com/wingify/vwo-node-sdk-redis-helper
Redis helper to connect VWO Node SDK with running Redis instance to store and retrieve VWO campaigns data
https://github.com/wingify/vwo-node-sdk-redis-helper
Last synced: 3 months ago
JSON representation
Redis helper to connect VWO Node SDK with running Redis instance to store and retrieve VWO campaigns data
- Host: GitHub
- URL: https://github.com/wingify/vwo-node-sdk-redis-helper
- Owner: wingify
- License: apache-2.0
- Created: 2024-02-15T11:35:48.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-15T11:45:12.000Z (over 1 year ago)
- Last Synced: 2024-04-16T18:57:18.911Z (about 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## VWO Node SDK Redis Helper
[](https://www.npmjs.com/package/vwo-node-sdk-redis-helper)
[](http://www.apache.org/licenses/LICENSE-2.0)
This open source library allows you to use Redis as a UserStorage Service in VWO Node SDK
### Requirements
- Node 6.10.0 or later - for server-side
- Redis 4.6 or later### Installation
```bash
# via npm
npm install vwo-node-sdk-redis-helper --save# via yarn
yarn add vwo-node-sdk-redis-helper
```### How to use
1. Require the helper
```javascript
const VWOUserStorageRedisHelper = require('vwo-node-sdk-redis-helper');
```2. Create the instance
```javascript
const VWORedisStorageInstance = new VWOUserStorageRedisHelper();
```3. Initialize the helper with the Redis configuration
```javascript
VWORedisStorageInstance.init({
// URL to connect with Redis
url: 'http://localhost',
// password to connect to Redis, if any
password: "test@123",
// (Optional) port where redis is listening, by default 6379
port: 1234
});
```### Documentation
Refer [Official VWO Documentation](https://developers.vwo.com/docs/fullstack-overview)
### Authors
* [Saksham Gupta](https://github.com/sakshamg1304)
### Changelog
Refer [CHANGELOG.md](https://github.com/wingify/vwo-node-sdk-redis-helper/blob/master/CHANGELOG.md)
### Contributing
Please go through our [contributing guidelines](https://github.com/wingify/vwo-node-sdk-redis-helper/blob/master/CONTRIBUTING.md)
### Code of Conduct
[Code of Conduct](https://github.com/wingify/vwo-node-sdk-redis-helper/blob/master/CODE_OF_CONDUCT.md)
### License
[Apache License, Version 2.0](https://github.com/wingify/vwo-node-sdk-redis-helper/blob/master/LICENSE)
Copyright 2024 Wingify Software Pvt. Ltd.