You just need to install the netlify-cli npm package and then execute netlify dev command from your project.
netlify-cli
netlify dev
That way you can test lambda functions even on local machine.
Check out this article where I have explained in detail.
You can also directly check the final code on the GitHub repository.
Yogesh, Thank you! Greatly appreciate it.
Yogesh, Started using the CLI today, and LOVE it. Thanks so much for the tip!
That's awesome👍
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You just need to install the
netlify-cli
npm package and then executenetlify dev
command from your project.That way you can test lambda functions even on local machine.
Check out this article where I have explained in detail.
You can also directly check the final code on the GitHub repository.
Yogesh, Thank you! Greatly appreciate it.
Yogesh, Started using the CLI today, and LOVE it. Thanks so much for the tip!
That's awesome👍