Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 802 Bytes

readme.md

File metadata and controls

40 lines (27 loc) · 802 Bytes

#Scheduler App An express application for monitoring job statuses

npm install
npm run build
npm test
npm start

http://localhost:8000/admin/scheduler-app

API

ENDPOINT             METHOD        OPERATION
------------------------------------------------------------
/api/jobs            GET          All scheduled jobs
/api/jobs/:job_id    GET          Get a scheduled job
/api/jobs/:job_id    PUT          Update a scheduled job

Install within an Express app

  1. add this repo to your package.json
{
  "scheduler-app": "https://github.com/goodybag/scheduler-app.git"
}
  1. register within express
var schedulerApp = require('scheduler-app');

app.use(schedulerApp('postgres://localhost/cater'))