Hey @Blake E Absolutely 😁! I’m always happy to talk Serverless, GraphQL or just code in general. Happy to share the repo here if that would be any use? It’s still very early in development - i built it as a POC to see how Federated GQL Works in a fully serverless environment and as something to demo when i start looking for a new role.
Tech Stack/Infrastructure
React App (TS)
Cognito Auth to Apollo Gateway (TS & SST)
Management Subgraph with JWT Authentication ( Go & SST )
Account Subgraph with JWT Authentication ( Go & SST ) - Todays task
Backed by DynamoDB
Dynamo may seem an odd choice, I'm a big fan of single table design with dynamo, i’ve used it successfully in the past but never with GraphQL, i wanted to see if planning the schema ahead/using shallow duplication I could get it to play nicely.
I would say the biggest issue I've come across so far is with latency/authentication between the gateway and subgraphs. I deliberately choose to use 2 separate authentication types to understand how bad the latency could get ( i might not always be in control of the subgraphs authentication ) but i’m planning to switch over to a lambda authoriser in the next week to take advantage of token cacheing to see how that helps performance.
Hopefully that is at least some use, I'll add a readme to the repo so if you did have any interest at looking it over/running it locally it might make a bit more sense