https://github.com/dschep/serverless-graphile
β‘ππΈοΈ Serverless project for deploying a PostGraphile service
https://github.com/dschep/serverless-graphile
aws graphile graphql lambda postgraphile postgresql serverless
Last synced: 22 days ago
JSON representation
β‘ππΈοΈ Serverless project for deploying a PostGraphile service
- Host: GitHub
- URL: https://github.com/dschep/serverless-graphile
- Owner: dschep
- Created: 2020-05-29T23:59:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T07:24:07.000Z (over 2 years ago)
- Last Synced: 2025-02-10T08:32:44.209Z (3 months ago)
- Topics: aws, graphile, graphql, lambda, postgraphile, postgresql, serverless
- Language: JavaScript
- Homepage:
- Size: 85 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# β‘ππΈοΈ Serverless PostGraphile
A lightweight implementation of [PostGraphile](https://graphile.org) on
[AWS Lambda](https://aws.amazon.com/lambda/) using [Serverless](https://serverless.com).## Easy deploy
The `serverless.yml` file is built with a few CLI options so that you can deploy without editing
the config!
```
npm i # install dependencies
npx serverless deploy --database-url postgresql://user:password@host/database
```### Additional deploy options
You can specify graphile plugins to be loaded with a space delimited list with the `--append-plugins` CLI
option. The plugins will be automatically installed on deploy. EG:
```
npx serverless deploy \
--database-url postgresql://user:password@host/database \
--append-plugins='@graphile/postgis @graphile-contrib/pg-simplify-inflector'
```