https://serverless-stack.com/ logo
#sst
Title
# sst
g

Gerardo Munguia Hoyo

03/10/2021, 12:14 PM
I was in contact with @Jay before (more than a year ago) via email regarding monorepo project structure with Serverless. According to the guide, "SST supports monorepo setups automatically". I was wondering how a monorepo setup looks like in SST. Is there an example repo?
g

gio

03/10/2021, 12:39 PM
here there’s a repo with several examples
g

Gerardo Munguia Hoyo

03/10/2021, 1:50 PM
Thanks! that's great. Unfortunately, I can't find any monorepo example.
m

Mike McCall

03/10/2021, 3:29 PM
@Gerardo Munguia Hoyo would love to see a monorepo example too. We decided to go with one sst App with multiple stacks. There was thread a while few days ago that was valuable. I bookmarked this comment. Take a look. https://serverless-stack.slack.com/archives/C01JG3B20RY/p1614801955087600?thread_ts=1614800747.081100&cid=C01JG3B20RY
f

Frank

03/10/2021, 7:45 PM
@Gerardo Munguia Hoyo In most cases, you don’t need a monorepo for SST. With Serverless Framework, each project is 1 CloudFormation stack, and you often need multiple projects. For SST, you can define multiple stacks within the same app.
g

Gerardo Munguia Hoyo

03/10/2021, 9:24 PM
brilliant! that thread is really useful. I'll give this a try