When I deploy a serverless framework codebase to AWS, I am curious about what method will be better. For now, there are 2 options.
- Use Nest.js or Express.js so I deploy one function to Lambda and this function will handle all API endpoints
- Deploy number of functions so each of them represents a single API endpoint
Regarding scalability, which option is a good approach?