Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 647 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 647 Bytes

simple-services

A sample repo with nodejs service(s).

Install/Build

In order to setup project in root directory run:

make all

That should install dependencies for all of the projects in services/ directory, build TypeScript and run services locally.

Description

image-processor

This service exposes single POST endpoint /images/resize. It requires width and height query parameters to be specified for resize. Image is expected to be provided as image field in multipart/form-data request.

URL: {BASE_URL}/images/resize?width=150&height=150

Body (multipart/form-data): { image: <IMAGE_DATA> }