npm install @involves/redis-lib2 --save
const express = require('express')
const { RedisMiddleware } = require('@involves/redis2-lib')
const app = express()
app.use(RedisMiddleware.setRedisIntegration)
app.get('/:id', (req, res) => {
const record = await req.integrations.redis.get(req.query.id)
res.send(record)
})
At the terminal, just type the command:
make test