Familiar Shopify Server Primitives
Keep a familiar `shopifyApp(...)` setup with authentication, session handling, webhook verification, and unauthenticated API contexts.
A community-maintained toolkit for authentication, webhooks, API clients, and embedded React app wiring in Vite-based Shopify apps.
bun add @yan-ad/shopify-app-tanstack @tanstack/react-routerimport {shopifyApp} from '@yan-ad/shopify-app-tanstack/server';
export const shopify = shopifyApp({
apiKey: process.env.SHOPIFY_API_KEY!,
apiSecretKey: process.env.SHOPIFY_API_SECRET!,
scopes: process.env.SCOPES?.split(',')!,
appUrl: process.env.SHOPIFY_APP_URL!,
sessionStorage: /* your session storage */ undefined as never,
});bun docs:devbun docs:dev -- --port 3030