/shopify-hotwire-sample

A sample app for Shopify's JWT integration with Hotwire Turbo

Primary LanguageRuby

Shopify Hotwire Sample

The sample app includes:

Since the shopify_app gem is not fully compatible with App Bridge 2 this sample uses fork.

Shopify Hotwire Sample

The old App Bridge 1 sample can be found in app-bridge-1 branch.

Quick start

To run this app locally, you can clone this repository and do the following.

  1. Connect to Shopify:
shopify app connect

It will generate .env file with Shopify API credentials.

  1. Setup Rails app:
bin/setup
  1. Run ngrok on port 3000:
ngrok http 3000
  1. Start the app:
bin/dev
  1. Install and open this app on a development shop.