/thumbnail-microservice

Rescaling images service built with Node.js and Express

Primary LanguageJavaScript

Thumbnails microservice

The thumbnails microservice is a mountable express app, which serves rescaled images of given image URLs

Installation

The service requires Node.js v6.4+ to run.

$ npm install
$ npm start

In order to configure settings like shared-secret, number of retries, cache-time and timeouts - enter the start command and set the new settings as an object in the same line.

For example:

$ npm start --NODE_CONFIG='{"settings":{"cache-time":120, "retries": 6}}'