Anyone have a sample serverless.yml (or sample repo) that works with prisma (using the node advanced or similar template)?
I have tried starting from this:
service: yoga-example
plugins:
- serverless-offline
provider:
name: aws
runtime: nodejs6.10
functions:
graphql:
handler: handler.server
events:
- http:
path: /
method: post
cors: true
playground:
handler: handler.playground
events:
but was unable to get it to work correctly i.e. not sure how to modify the entry point when using prisma