this is a basic example of how to use Redis with nodejs as a caching system to improve response speed to the client.
you need to have redis installed on your system, or other possible ways to use it is trough docker:
to run redis with docker:
docker run --name some-redis -p 6379:3379 -d redis