serverless-frameworkserverless-architecture

Serverless Architecture based on a domain model?


I have recently started using serverless, I completed the tutorial on serverless-stack.com 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?

/users
serverless.yml
/posts
serverless.yml
/comments
serverless.yml

thanks in advance


Solution