DEV Community

Discussion on: Deploy a GraphQL API with Prisma, AWS AppSync, Aurora Serverless & CDK

Collapse
 
codemochi profile image
Code Mochi • Edited

I love the post! One question that came to my mind after watching your deploy nextjs with serverless containers is that since Nextjs is so great at creating api functions, why not just create an api graphQL function with Nextjs and have that talk to the aurora using the prisma client?

Then you'd only deploy the Nextjs instance and you'd have a fullstack web app. Is there a benefit to using appsync in between the lambda and the frontend? performance or security perhaps?