kevinuehara / redis-background-job

Using Redis, Bull and NodeJS to create a simple queue jobs to send emails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redis-background-job

These project uses Redis, Bull and NodeJS to create an simple queue of jobs. Must create a account in SMTP email testing plataform, in this project I'm using Mailtrap.

Prerequisites

  • NodeJS

  • Docker and Docker-Compose

  • Create a .env file in project root and declare the environment variables:

key type
MAIL_HOST String
MAIL_PORT Integer
MAIL_USER String
MAIL_PASS String
REDIS_HOST String
REDIS_PORT Integer

How to run?

npm install
docker-compose up -d
npm run:dev

About

Using Redis, Bull and NodeJS to create a simple queue jobs to send emails


Languages

Language:JavaScript 100.0%