We are no longer use this version of the content api at Big Give. Current versions live in a private code repository. Previous readme contents below.
This is a Node.js project currently containing a single function for AWS Lambda in content-api-post.js
,
which provides the POST
endpoint for the Big Give's user-generated content API.
As per instructions for Sharp on Lambda:
npm install
rm -rf node_modules/sharp
SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install --arch=x64 --platform=linux --libc=glibc sharp
- Zip up the contents of the folder (not the whole folder), including
node_modules/
. This need not include normally-hidden files like.git*
metadata. - Upload here.