The sample app includes:
- JWT integration for Hotwire Turbo
- JWT integration for Rails Request.JS
- App Bridge 2.0
- Polaris ViewComponents
- Hotwire::Livereload
Since the shopify_app
gem is not fully compatible with App Bridge 2 this sample uses fork.
The old App Bridge 1 sample can be found in
app-bridge-1
branch.
To run this app locally, you can clone this repository and do the following.
- Connect to Shopify:
shopify rails connect
- Setup Rails app:
bin/setup
- Run
ngrok
on port 3000:
ngrok http 3000
- Start the app:
bin/dev
- Install and open this app on a development shop.