This module implement the BaseStateController interface with redis in-memory database.
BaseStateController
npm install @machinat/core @machinat/redis-state# or with yarnyarn add @machinat/core @machinat/redis-state
Check the Using State document and the package reference.
import Machinat from '@machinat/core';import RedisState from '@machinat/redis-state';const app = Machinat.createApp({ modules: [ RedisState.initModule({ clientOptions: { host: 'localhost', port: 6379, }, }), ],});
Generated using TypeDoc
Redis State Module
This module implement the
BaseStateController
interface with redis in-memory database.Install
Docs
Check the Using State document and the package reference.
Setup