The requirement is to make a caching services through redis.
However, the database configured under config/connections.js seems to be available only for orm
I don’t know if there is a ready-made scheme to directly operate the redis database.
Share node’s native redis library operations
# Create Connection redis = require('redis').createClient() # Monitoring Exception redis.on 'error', (err) -> console.log(err) # Record Value redis.set(key, value) # Read Value redis.get key, (err, data) ->
Redis does not have a DB-like ORM tool, but Spring has a package for Redis and can understand it