StrongLoop Labs provides early access to pre-release or experimental projects. In general, these projects may lack functionality, usability, completeness, documentation, robustness and may be outdated. StrongLoop considers this project under active development and fully supports this project. Paying customers may open issues using the StrongLoop customer support system (Zendesk) while community users are encouraged to submit feature requests/bugs reports using GitHub issues.
The official Redis connector for the LoopBack framework.
1. Install dependencies
Install the required dependencies via NPM:
npm install --save loopback-connector-redis npm install --save loopback-datasource-juggler
This connector depends on
2. Configure a Redis datasource
In your code, declare redis as a datasource:
var DataSource = require('loopback-datasource-juggler).DataSource; var ds = new DataSource('redis'); ...
- Start the Redis server (using the default port)
Existing data in database 0 may be deleted