Creates a local server and a proxy so you don't have to deploy anytime you want to test your code
If you have to deploy your work everytime you are making changes, this tool will help you reduce that time. We generate a local server that is a attached to a proxy online so that you can use that url to access the functionality that you have in your code in your laptop.
bst proxy service makes your local AWS Lambda available to debug and test via public URL. And though the URL is public, it is unique to you, and known only to you.
It is great for developing and testing:
It creates a unique public URL through which you can access it. Once installed, all you need to access it is:
You can now send and receive data to your locally running Lambda! Here is a demo of in action using Postman:
More detailed info on how the proxy works can be found here.
npm install serverless-plugin-bespoken --save-dev
Add the plugin to your
plugins: - serverless-plugin-bespoken
You're set! The plugin will run by using
Now you can use the generated url and access directly to your local server.