DEV Community

Discussion on: Why local development for serverless is an anti-pattern

Collapse
 
cassiolacerda profile image
Cássio Lacerda

The first time that I saw an AWS Lambda Function, was almost impossible to create/test/emulate a Node.js function locallly, and I gave up. Some time later, I discovered the Serveless Framework with serverless-offline-* packages utils to running locally serverless offline start and deploy functions with serverless deploy function --function helloWorld when we would wish to put in qa/production. Maybe, the ease and speed of updating a function with serverless deploy and the ability to point functions endpoints and calls directly to AWS environment as a dev stage, perhaps , are the next paradigm to be broken.