How can I execute only the Shopify backend application on my local machine?

I have developed a Shopify application using the CLI, but I’ve noticed that it comes with a specific frontend setup while lacking a backend component. What would be the most effective way to address this? Should I build an integrated backend within the existing Shopify app? If that’s the case, how can I run just the backend locally without launching the frontend? Alternatively, should I develop a separate backend application hosted on a different cloud service for the Shopify frontend to interact with? I would greatly appreciate any recommendations on the best course of action for this. Thank you for your help!

Ever thought about leveraging tunneling tools like ngrok to expose your local backend to Shopify? That way, you get to test the backend in real-time directly against your Shopify store without launching the whole app. How does that sound? :thinking: Curious to hear how others have tackled this!

You might consider deploying your backend application as a separate microservice. This will allow more flexibility and scalability in managing your application stack. You can choose any technology stack for your backend based on your needs and preferences, like Node.js, Ruby on Rails, or Django. Running it locally as a separate service means you can handle it independently from the Shopify frontend. Use API requests to facilitate communication between your Shopify app and the local backend, ensuring seamless data interchange.

how ‘bout using local proxies? Reverse proxies like traefik or NGINX can help you run ur backeend locally without touching the frontend. U setup to route request from ur frontend to local backend via API, keepin’ em separate n efficient. I’ve found dat pretty handy :grinning:.