Building a Shopify App using Python and Flask

garettbeuk
Shopify Partner
2 0 9

Hi all,

 

I created my first Shopify app recently for the app challenge, I used Python and found it took me quite a while to fully understand the entire app flow (there's a lot to digest). I decided to create a very small, simple but complete app for Shopify. I've posted it to GitHub and it is free to use for anyone:

https://github.com/garettB/shopify-flask-example

 

Hopefully this helps anyone starting out wanting to use Python get going a bit faster.

 

If you have questions or issues, just let me know here and I'll be happy to help where I can.

MGerace
Tourist
9 1 1

Thank you for sharing this

Your walk through is going to a 404 https://github.com/garettB/shopify-flask-example/blob/master

0 Likes
garettbeuk
Shopify Partner
2 0 9
Thanks for letting me know! This link should work for you:
https://github.com/garettB/shopify-flask-example/
drew13579
New Member
2 0 0

Hi Garett,

Thanks for sharing your tutorial! It is very helpful. I am having an issue where right after I select my development store to test the app, it takes me to a page that says:

"Oauth error invalid_request: The redirect_uri is not whitelisted"

I have double checked that the ngrok link in the Shopify app setup is the same as the one in config.py. Any help would be greatly appreciated. Thanks!!

0 Likes
drew13579
New Member
2 0 0

Actually, I figured it out. I wasn't using https everywhere. Sorry!

0 Likes