Posts

Showing posts from December, 2021

GOING SERVERLESS FOR SHOPIFY PLUGIN/APP DEVELOPMENT

We Currently shifted our Shopify app from a server to a function in the cloud, on AWS that's called a lambda function. Why we did it? The app is built for Shopify and a Shopify solution is automatically managed, everything from server scaling, balancing the load, updating security patches, etc is managed by Shopify. We wanted the same model for our app, where we would just focus on adding new features and scaling etc were managed automatically. We choose Lambda as it fitted our requirement perfectly. We used a combination of AWS API gateway, Lambda functions, and cloud-watch. We needed a URL to hit from the Shopify Flow app and then the server would perform the necessary operations. API GATEWAY AWS API gateway provides easy to build and use end-points. All you need to do is create a resource (that will become the URL) and add methods (HTTP methods - Get, Post, etc). For each method, you add you will be provided a UI to control the data flow with four sections (Method req