Testing AWS Lambda locally
问题 I am about to write a server component targeting AWS lambda. How do I develop this locally without having to deploy this every time I make a change? 回答1: Without knowing more about your project, the only thing I can recommend is for you to build a minimal web server application that will create your event object based on the request that you send. In NodeJS, you can do this by writing a minimal express server that invokes your lambda handler in its route handler. If you use serverless