/redis_node

Primary LanguageTypeScript

Cache Redis

Table of Contents

About

In this case of the study i learning about caching in redis, and how to use it in a nodejs application.

Getting Started

i use docker to create a redis container, and use the redis-cli to interact with the redis server. Create postgres container to use in the application... u can use docker too.

Installing

A step by step series of examples that tell you how to get a development env running.

Say what the step will be

git clone ...

install dependences

npm install

populate .env with you information

  cp .env.example .env

and run the application

Usage

This is result about doing a consult on database and after that, doing a consult on redis.

Captura de tela de 2023-08-23 08-33-27

Captura de tela de 2023-08-23 08-36-13