A sample repo with nodejs service(s).
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.
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> }