horace-velmont / shopify-app-proxy-example

To Test the Shopify Proxy App Feature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shopify App-Proxy Example To Test the Proxy Example

Steps to get up and running:

  1. Create a shopify app if you haven't already.
  2. Add the file "secrets.json" to the directory above this one, filling it with your app's shared secret:
    {
        "shopify_shared_secret": "your shared secret here"
    }
  3. npm install
  4. Run the server with node index.js.
  5. Add the proxy url "#{your_server_url}/proxy" to your shopify app on the app settings page.
  6. Install the app on your shopify store.

Now you should be able to visit the proxy url on your store, and get a response like this:

This is the proxy page for #{your_store_name}.

If you visit #{your_server_url}/proxy directy, you will get a signature validation error:

Signature validation for shopify proxy request failed

About

To Test the Shopify Proxy App Feature

License:MIT License


Languages

Language:JavaScript 46.8%Language:CoffeeScript 26.4%Language:Liquid 21.4%Language:HTML 5.4%