graphile/postgraphile-lambda-example

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

Homepage:

Size: 127

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.