Serverless Architecture based on a domain model?

Hi There,

I have recently started using serverless, I completed the tutorial on and I wanted to see if there was a way could represent the domain model in an application. I’ve searched for some samples but I can’t seem to find anything.

I have an application that I would like to model. How would I reference this in the main serverless.yml file? How would I make them part of the same API gateway?


thanks in advance

Currently there isn’t a simple way to put multiple services behind a single API Gateway. I suspect the most common approach is to have a separate gateway project that invokes those other services when required. I’m doing something similar but using GraphQL instead of REST.