Description
Simple Redis backed wai-session backend.
Description
Simple Redis backed wai-session backend. This module allows you to store session data of wai-sessions in a Redis database.
README.md
wai-session-redis
Provides Redis based session store for Network.Wai.Session
For example usage view example/Main.hs
Tests
To run tests wai-session-redis
must have access to running redis
instance.
Using docker and stack
docker run --name redis-session-tests -p 6379:6379 -d redis
stack test
docker rm -f redis-session-tests
Using nix
Nix takes care of running redis
instance and testing wai-session-redis
.
nix-build