Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

thebiggive/content-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED REPOSITORY : The Big Give Content API

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.

Install packages and build Sharp for Lambda

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

Upload Lambda package manually

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •