robertosousa1 / background-jobs-class-by-dio

Code produced in a Webinar in which I taught on background processes with Node and Redis by Digital Innovation One.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background jobs in Node.js with Redis.

In this video we talk about background tasks in Node.js with Redis, using a library called Bull for prioritizing processes, monitoring events, number of simultaneous processes, in addition to working in separate threads in the application.

GitHub top language GitHub language count Codacy grade Repository size GitHub last commit Repository issues

Technology   |    Prerequisites   |    Getting started   |    How to contribute   |    License

πŸš€ Technology

  • Express β€” A web framework for Node.js
  • Bull β€” Premium Queue package for handling distributed jobs

β˜‘οΈ Prerequisites

πŸ†™ Getting started

  • Clone this repo
  • Enter the folder background-jobs-class-by-dio
  • Run yarn or npm install to install the dependencies
  • Copy the .env.example file and create an .env file with email and Redis credentials
  • Run yarn dev and yarn queue to start the full featured local server

✏️ How to contribute

  • Make a fork;
  • Create a branck with your feature: git checkout -b my-feature;
  • Commit changes: git commit -m 'feat: My new feature';
  • Make a push to your branch: git push origin my-feature.

After merging your receipt request to done, you can delete a branch from yours.

πŸ“ License

This project is under the MIT license. See the LICENSE for more information.


Made with by Roberto Sousa πŸ‘‹ Get in touch!

About

Code produced in a Webinar in which I taught on background processes with Node and Redis by Digital Innovation One.

License:MIT License


Languages

Language:JavaScript 100.0%