Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 761 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 761 Bytes

api-node

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.

Instructions

Install dependencies with npm.
cd path/to/api-node
npm install
MongoDB

Install & start MongoDB. Call your database 'api-node' and leave the default port (27017).

Configuration

Update server.js with your api.dev.workmarket.com API token & secret. Then, start the service:

node server.js

Enjoy!