How to integrate app proxy route in remix CLI app

Topic summary

  • Focus: Integrating an app proxy route in a Shopify app using the new Remix-based CLI.

  • Prior approach: In the legacy CLI, developers created the proxy route in Web/index.js as a standard route function.

  • Current issue: The thread seeks guidance on where and how to define an equivalent proxy route within the Remix CLI project structure.

  • Community signal: Another developer confirms encountering the same problem, suggesting a broader migration challenge.

  • Status/outcome: No solutions, examples, or official instructions were provided. No code snippets, images, or attachments are included. The discussion remains open and unresolved.

  • Key unanswered question: What is the correct file location and implementation pattern for an app proxy route in a Remix CLI project?

  • Missing elements: No migration steps, workarounds, or references to documentation were shared.

Summarized with AI on January 16. AI used: gpt-5.

Hello

In the old CLI structure, we are creating a proxy route in the Web/index.js file and it was a normal route js function.

But in the new Remix CLI where and how we can create a proxy route?

Thank you

1 Like

Yes, same issue.