Name: postgraphile-lambda-example
Owner: Graphile
Description: Simple Lambda example with caching using aws-serverless-express to expose the postgraphile middleware
Created: 2018-03-12 09:20:43.0
Updated: 2018-04-08 07:44:50.0
Pushed: 2018-04-05 07:47:04.0
Size: 127
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Bundle with:
BASE_SCHEMAS="app_public" DATABASE_URL="postgres://localhost/lambda_example" npm run bundle
Then upload lambda.zip (~3.9MB) to lambda and set the handler to index.handler
Make sure you set the DATABASE_SCHEMAS and DATABASE_URL envvars on Lambda too!