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.
-
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 |
npm install
docker-compose up -d
npm run:dev