Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 747 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 747 Bytes

TypeScript, async generators, and Redis search

The repository has some sample code showing you have to use async generators in combination with Redis search.

Getting Started

This is pretty easy. Just follow these steps:

  1. Clone this repository.
  2. Make sure you have an instance of Redis Stack running locally on port 6379. If you have it somewhere else, edit the code in main.ts to point to where your Redis is. The comments will guide you. If you don't have it, get it now.
  3. Run npm install to install all the dependencies.
  4. Run npm run test and watch the unit tests pass.

Once you're there, take a look at the code and learn from it. Again, the comments will guide you.