API that resizing images & place it into frontend with the size set via URL parameters.
npm i
npm run build
npm run start
(will start running on port 4000).
npm run lint
npm run test
Method: get
URL Params: height and width - the height or width of the image in pixels
Query Param: filename - the specific image you are requesting.
For example: `http://localhost:4000/api/images?filename=fjord&width=900&height=900`
encenadaportfjordicelandwaterfallpalmtunnelsantamonica
-
User can query endpoint using various params and queries to retrieve an image with a specified height and width.
-
All images requested will be saved to disk.
-
There is a cache layer. If a user requests an image size that has already been requested, there is no need for resizing and the previously resized image will be returned.