Interacting with the Work Market API using node.js and MongoDB.
This simple service polls the assignments/list_updated endpoint for modified assignments. If any are found, it fetches and prints the full details of that assignment, and stores the assignment into MongoDB.
cd path/to/api-node
npm install
Install & start MongoDB. Call your database 'api-node' and leave the default port (27017).
Update server.js with your api.dev.workmarket.com API token & secret. Then, start the service:
node server.js
Enjoy!