Serverless framework uses AWS CloudFormation to deploy the designed application. Cloudformation has a hard limit of 500 components in order to force the developer to design micro services and not creating a mega project.

This leads to multiple serverless projects as backend in a large project. The frontend will call the backend project it needs.

In order to test this on the developer’s computer, Serverless Offline can be used. This will simulate the lambda functions on the local computer and provides a local HTTP server interface for the frontend to interact with.

When the frontend needs to interact with multipe backend projects we can start multiple Serverless Offline instances. However for this we will need to adjust the port numbers.

Continue reading