# Microservices and Mono-Repo and Multiple Tables

**URL:** <https://discourse.sst.dev/t/microservices-and-mono-repo-and-multiple-tables/841>\
**Category:** General\
**Created:** [February 22, 2019, 9:16am UTC](https://discourse.sst.dev/t/microservices-and-mono-repo-and-multiple-tables/841 "2019-02-22T09:16:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manu](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manu](https://discourse.sst.dev/u/Manu)\
**Post date:** [February 22, 2019, 9:16am UTC](https://discourse.sst.dev/t/microservices-and-mono-repo-and-multiple-tables/841/1 "2019-02-22T09:16:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [February 25, 2019, 7:42pm UTC](https://discourse.sst.dev/t/microservices-and-mono-repo-and-multiple-tables/841/2 "2019-02-25T19:42:15Z")

</div>

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](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:

> <https://github.com/AnomalyInnovations/serverless-stack-demo-api/blob/master/serverless.yml#L128>
