In the doc I see :
… as your application grows, you can break it out into multiple services.
and later this
users/ serverless.yml # Contains 4 functions that do Users CRUD operations and the Users database posts/ serverless.yml # Contains 4 functions that do Posts CRUD operations and the Posts database comments/ serverless.yml # Contains 4 functions that do Comments CRUD operations and the Comments database
Why is this setup/organization better than this :
# services.yml [..] functions: orderFunction1 handler: orders.orderFunction1 orderFunction2: handler: orders.orderFunction12 cartFunction1 handler: carts.orderFunction1 cartFunction2: handler: carts.orderFunction12