Miss any of our Open RFC calls?Watch the recordings here! »

loopback-connector-redis

3.0.0 • Public • Published

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

Install

npm i loopback-connector-redis

DownloadsWeekly Downloads

3,112

Version

3.0.0

License

MIT

Unpacked Size

37 kB

Total Files

23

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar