npm run tracker waiting - process (waiting tasks) -> complete
npm run tracker pending - process (pending tasks) -> complete
npm run test - run rest api tests
npm run dev - run with nodemon
Using
Start nodejs server npm start. By defaults it listening on localhost:8081
Create some jobs for further work. Use POST request for http://localhost:8081/jobs {body}
The next step to launch tracker by command npm run tracker waiting or npm run tracker pending depends on what status of the task you want to perform
The tracker will process the tasks while they exist, then every second it will ask the server to process for new tasks in the order of the queue FIFO one by one and in real time to notify the client of the fulfillment