Loopback-next: Redis with loopback 4 Integration Example

Created on 14 Jan 2020  路  4Comments  路  Source: strongloop/loopback-next

Where can I find an example on how to integrate Redis with loopback 4?
What I need to do with Redis is integrating it within the authentication process & architecture of Loopback 4.

question

Most helpful comment

Another usage can be found in loopback4-shopping-example: https://github.com/strongloop/loopback4-example-shopping/blob/master/packages/shopping/src/repositories/shopping-cart.repository.ts

The shopping-cart repository is connected to a redis datasource.

All 4 comments

Hey @baltameme

It seems that examples are thin on the ground so I suggest looking at the tests for the redis connector to gain an insight.

Another usage can be found in loopback4-shopping-example: https://github.com/strongloop/loopback4-example-shopping/blob/master/packages/shopping/src/repositories/shopping-cart.repository.ts

The shopping-cart repository is connected to a redis datasource.

@baltameme, please let us know if we've answered your question, so that we can close this issue. Thanks.

Hi @dhmlau, the example is clear enough. thanks so much.
I will be closing it from my side.

Was this page helpful?
0 / 5 - 0 ratings