@meganet/loopback-connector-redis
The official Redis connector for the LoopBack Framework.
Last updated 5 months ago by developer.tungnguyen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @meganet/loopback-connector-redis 
SYNC missed versions from official npm registry.

StrongLoop Labs

This project provides early access to advanced or experimental functionality. It may lack usability, completeness, documentation, and robustness, and may be outdated.

However, StrongLoop supports this project. Community users, please report bugs on GitHub.

loopback-connector-redis

The official Redis connector for the LoopBack framework.

Usage

Install dependencies

Install the required dependencies via NPM:

npm install --save loopback-connector-redis
npm install --save loopback-datasource-juggler

This connector depends on loopback-datasource-juggler.

Configure a Redis datasource

In your code, declare Redis as a datasource:

var DataSource = require('loopback-datasource-juggler).DataSource;

var ds = new DataSource('redis');
...

Testing

  1. Start the Redis server (using the default port)
  2. Run npm test

WARNING

Existing data in database 0 may be deleted

Current Tags

  • 3.2.3                                ...           latest (5 months ago)

6 Versions

  • 3.2.3                                ...           5 months ago
  • 3.2.2                                ...           5 months ago
  • 3.2.1                                ...           5 months ago
  • 3.2.0                                ...           5 months ago
  • 3.1.1                                ...           5 months ago
  • 3.1.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |