A simple node js code for testing redis
Here I have exposed few redis actions through express endpoint.
- /set - send key and value in query params
- /get - send key in query params
- /setex - send key, value and expire in query params
- /del - send key in query params
- /flushall
- /keys
- /ttl - send key in query params