API created using NodeJS with Bull and Redis to implement jobs needing execute in background improving performance that API.
- node.js — Execution environment Javascript to server.
- nodemon — Monitors files update and restart server.
- express — Framework NodeJS.
- sucrase — Alternative to Babel that allows super-fast development builds.
- npm-run-all — Run multiple npm scripts in parallel or sequential.
- nodemailer — Send e-mails with NodeJS.
- bull — Queue package for handling distributed jobs and messages.
- bull-board — Queue background jobs inspector.
- Clone this repository;
- Enter the folder
cd background-jobs
; - Run
yarn
to install dependencies; - Run
redis-server
to start redis; - Run
yarn dev
to start server;