In order to save (or persist) data over a duration longer than a single request, we need some long term storage solution to keep hold of our data. This could be a database like Postgres. In our case, this will be Redis.
You can setup and configure Redis however you like. For simplicity, I'm going to use Docker.
On this page of the site you can watch the video online Create a NodeJS API with Koa and TypeScript - #9 - Adding Redis with a duration of hours minute second in good quality, which was uploaded by the user Code Review Videos 05 May 2020, share the link with friends and acquaintances, this video has already been watched 2,327 times on youtube and it was liked by 28 viewers. Enjoy your viewing!