Shopify embedded app testing solution - test locally without real credentials.
npm install- Install dependenciesnpm run build- Build TypeScriptnpx ts-node src/cli/index.ts <app-url>- Run dev server
src/server/- Express server (MockShopifyAdminServer)src/auth/- JWT token generation/validationsrc/client/- Browser-side mock detectionsrc/cli/- Commander.js CLI
src/server/index.ts- Core server, routes, admin UI HTMLsrc/auth/token-generator.ts- JWT creation/verificationsrc/auth/validateSessionToken.ts- Universal token validatorsrc/client/mock-detector.ts- Client environment detection
Server runs on port 3080 by default. Navigate to http://localhost:3080 to see mock admin.
- Port: 3080
- Shop: test-shop.myshopify.com
- Client ID: shopify-mock-dev-client-2024