Skip to content

VincyBenita/bltzrTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bltzrTask

Please follow the below steps to run the application.

  • Install redis-server, mongoDB, nodejs on your system.
  • Run npm install
  • Run mongo and redis on your terminals.
  • Run 'npm start' on one terminal
  • cd server/api/fetchAndProcessData/ and run 'node consumer.js'
  • cd server and run 'node cronTab.js'

The cron runs every 5 minute to produce messages (jobs) for all the saved cryptoPairs and push them in the queue. The consumer then processes all the messages in the queue one by one and saves the consolidated data in the mongoDB database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published