Shopify Hotwire Sample

screenshot of Shopify Hotwire Sample
rails
shopify

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

Overview

The Shopify Hotwire Sample is a robust starter template designed for developers looking to integrate Shopify’s features using modern web technologies like Hotwire, Turbo, and Rails. This sample app is particularly appealing for those wanting to leverage the latest capabilities of the Shopify ecosystem while maintaining high performance and seamless user experience. With a quick start guide and advanced integrations, it is positioned to make development smoother and more efficient.

This template goes beyond traditional setups by incorporating JWT integration, AppBridge compatibility, and various optimizations that are essential for any serious Shopify developer. It's clear that becoming a sponsor opens the door for further enhancements and a deeper engagement with the ongoing development of this tool.

Features

  • JWT Integration for Hotwire Turbo: Simplifies authentication and session management within your Rails application, enhancing security and performance.
  • AppBridge 3.x Integration: Seamlessly integrates with Shopify App Bridge for better handling of user interactions and improving overall user experience.
  • Polaris ViewComponents: Leverages Shopify’s design system for consistent and responsive UI components that match Shopify’s aesthetic.
  • Hotwire::Livereload: Facilitates real-time updates during development, allowing for immediate feedback and iterative design.
  • Billing Configuration: Utilizes a straightforward billing setup via the shopify_app gem, enabling developers to easily manage the billing process for their apps.
  • Cloudflare Tunnel Setup: Provides a secure way to forward OAuth requests during local development, ensuring a smooth development workflow.
  • Heroku Deployment Ready: Simplifies the process of deploying your app to Heroku with clear instructions on necessary configuration variables.
rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.

shopify
Shopify

Shopify offers headless commerce capabilities through its Storefront API, allowing developers to use their own front-end technology to create custom storefronts or sales channels while using Shopify as a back-end system