App reviews, troubleshooting, and recommendations
Hi everyone,
I’m building a custom app for a client, and all it really needs to do is query the Shopify Admin API from the checkout extension. It’s a very simple app with minimal requirements, but hosting it seems to cost $10-$20/month, which feels a bit excessive for something this basic.
I’m curious—are most of your custom apps as simple as mine (just querying the Admin API), or do they tend to have more complex requirements? Do you also feel that hosting costs for such simple apps are high?
Additionally, what factors do you consider when choosing a hosting service for your apps? Is it mainly about cost, performance, security, or something else entirely?
Looking forward to hearing your thoughts and suggestions!
Thanks in advance!
Hi @mehrshad ,
Checkout Extensions are hosted by Shopify.
Very simply create a private app in your clients shop and use those API key/secret in your Admin API calls.
Hi @Sam_Cnet,
Thanks for your reply, As you know you are not allowed to use API secret on the frontend side and you need to deploy your app on a server.
Hi @mehrshad,
You don’t need to make and host an app if all you’re making is a checkout extension. All you have to do is use Shopify CLI to deploy the extension to your clients shop. Then if you want to query Admin API you would use the built in fetch. Because it uses remote-ui security is a built in feature.
https://github.com/Shopify/ui-extensions/blob/unstable/documentation/runtime-environment.md
Good luck!
Hi @Sam_Cnet,
Can you provide example code? I'm encountering a CORS error when trying to use fetch for the Admin API endpoint.
Additionally, using fetch directly to query the Admin API from the client side risks exposing your API secret, even if you're running it on a separate worker. Admin API calls should be handled server-side to ensure security and prevent credential leaks.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024