04 - Creating a Redis Dynamic NestJS Module

۰ نظر گزارش تخلف
شرکت پیشگامان دامنه فناوری
شرکت پیشگامان دامنه فناوری

Today we'll learn how to create our own Redis Module, which will allow us to set up an IORedis Client with the desired database connection configuration! This is a necessary step to allow us to store poll information in Redis.

We'll then create an instance, or configuration, of this module and inject it into the PollsService that we created in the last tutorial.

This may be the part of this tutorial I learned where I learned most while creating this tutorial. I had problems with an open source redis module on Github working properly, so it was very informative to learn to make on on my own!

The link to the working repo can be found at: https://github.com/JacobSNGoodwin/ranker-course

Summary:
0:00 - Intro
1:37 - Module Review
5:30 - Defining Dynamic Redis Module
9:50 - Implementing a "registerAsync" method
13:25 - Creating an instance of our Redis Module
18:46 - Firing up the server and verifying Redis connection!

نظرات

نماد کانال
نظری برای نمایش وجود ندارد.

توضیحات

04 - Creating a Redis Dynamic NestJS Module

۰ لایک
۰ نظر

Today we'll learn how to create our own Redis Module, which will allow us to set up an IORedis Client with the desired database connection configuration! This is a necessary step to allow us to store poll information in Redis.

We'll then create an instance, or configuration, of this module and inject it into the PollsService that we created in the last tutorial.

This may be the part of this tutorial I learned where I learned most while creating this tutorial. I had problems with an open source redis module on Github working properly, so it was very informative to learn to make on on my own!

The link to the working repo can be found at: https://github.com/JacobSNGoodwin/ranker-course

Summary:
0:00 - Intro
1:37 - Module Review
5:30 - Defining Dynamic Redis Module
9:50 - Implementing a "registerAsync" method
13:25 - Creating an instance of our Redis Module
18:46 - Firing up the server and verifying Redis connection!

آموزش