Microservices and Mono-Repo and Multiple Tables


#1

Hey Jay & Frank,

How would you recommend organizing a “mono-repo app with multiple services that are connected through cross-stack references” where there are 3 or more DynamoDB tables involved?

I had a look on this forum and I’m not sure if this topic has been covered so far. Would be keen to hear your recommendation for this particular scenario with a microservices + mono-repo +multi-tables pattern.

I am thoroughly enjoying your serverless knowledge and wisdom.

Great work and many thanks for sharing!

Manu


#2

Thanks for the kind words.

Adding multiple tables should be pretty straightforward. You can add multiple resources to this file - https://github.com/AnomalyInnovations/serverless-stack-demo-mono-api/blob/master/services/database/serverless.yml. Or you can create separate resource files and list them there. We do something similar here: