- Node.js >= 8
- MongoDB >= 3
- Dotenv files:
.env.production
and/or.env.development
$ yarn install
$ yarn start # yarn dev for development
MONGODB_URI
(string): MongoDB URICRAWLER_ADDRESS
(string): Address of crawler service
Just for testing
iam
:"/"
Get all active watches
Array of objects:
id
(string): ID of the watchinterval
(positive integer): Number of seconds between executionspayload
(object): Payload passed to the crawler
Add a new watch
interval
(positive integer): Number of seconds between executionspayload
(object): Payload passed to the crawler
Get the active watch with
id
id
(string): ID of the watch
id
(string): ID of the watchinterval
(positive integer): Number of seconds between executionspayload
(object): Payload passed to the crawler
Delete/disable the active watch with
id
id
(string): ID of the watch