Skip to content
An Image processing lambda function built with serverless framework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore first commit Jun 9, 2019
package-lock.json first commit Jun 9, 2019
package.json first commit Jun 9, 2019
readme.md
serverless.yml first commit Jun 9, 2019
uploadImage.js first commit Jun 9, 2019

readme.md

About

This is an image processing app built with serverless framework. It takes an image from a url, download and resize on the fly and upload to an s3 bucket

Install npm packages

 npm Install
$ serverless deploy

With aws profile

serverless deploy --aws-profile profileName

Invoking the function

curl -H "Content-type: application/json" -d '{"photoUrl":"https://www.petmd.com/sites/default/files/what-does-it-mean-when-cat-wags-tail.jpg"}' 'your-serverless-app-endpoint'
You can’t perform that action at this time.