Now, you might be thinking why use Redis as a primary database, and for that question my friend I only have one answer. What this tutorial is about is How to build a Card game using React and Redux Toolkit on the frontend, Nodejs on the backend and Redis as the primary database. This makes getting query results very fast.Įnough about what it is, you can read up more about Redis from their docs.
What this basically means is that, a Redis database acts as a high-speed data store that sits between the client and the main database, providing fast data retrieval compared to other primary databases such as MySQL, MongoDB, etc. If your familiar with Redis you might know it is primarily used as a caching database along with a few other use cases.