https://github.com/guerrerocarlos/graphql-lambda-prisma-example
https://github.com/guerrerocarlos/graphql-lambda-prisma-example
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/guerrerocarlos/graphql-lambda-prisma-example
- Owner: guerrerocarlos
- Created: 2021-04-05T01:06:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T01:43:49.000Z (about 4 years ago)
- Last Synced: 2025-04-03T06:42:12.868Z (2 months ago)
- Language: TypeScript
- Size: 60.5 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Graphql Subscriptions on AWS Lambda (with Prisma)
This is a [graphql-lambda](https://github.com/guerrerocarlos/graphql-lambda) module usage example that shows how to create a GraphQL endpoint with Subscriptions that stores new users using [prisma](https://prisma.io) ORM and shows the newly created users in real-time through a GraphQL subscription query.
# This example includes:
* Prisma schemas definitions and client
* GraphQL SDL schemas definitions
* `Subscription` queries implementation with Prisma module# How to
Deploy as usual with [serverless](https://serverles.com/) framework:
`serverless deploy`
# Playground Screenshots
Creating new users and receiving them in real time through `subscription` query:

