<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Support proxy configuration in ArcGIS Experience Builder Dev Edition for local development in ArcGIS Experience Builder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idi-p/1633116</link>
    <description>&lt;P&gt;During local development the experience is hosted on &lt;A href="https://localhost:3001" target="_blank"&gt;https://localhost:3001&lt;/A&gt; per the typical ExB installation and our backed API is hosted on &lt;A href="https://localhost" target="_blank"&gt;https://localhost&lt;/A&gt;&amp;nbsp;(or another domain). However, the Integration, Acceptance, and Production frontend and backend deployments are all deployed on the &lt;U&gt;same domain&lt;/U&gt;, e.g., &lt;A href="https://mydomain.com/myapp" target="_blank"&gt;https://mydomain.com/myapp&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When calling our custom backend API we use known relative paths — e.g.,&amp;nbsp;fetch("api/weather") — as we prefer convention over configuration. However, this isn't workable as without a proxy the frontend sends requests to &lt;A href="https://localhost:3001/api/weather" target="_blank"&gt;https://localhost:3001/api/weather&lt;/A&gt;&amp;nbsp;rather than &lt;A href="https://localhost/api/weather" target="_blank"&gt;https://localhost/api/weather.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To support this in our custom non-ExB apps we utilize &lt;A href="https://webpack.js.org/configuration/dev-server/#devserverproxy" target="_blank"&gt;webpack-dev-server's proxy&lt;/A&gt; configuration. It appears the ExB Dev Edition uses Koa to serve the application. It would be very helpful it ExB Dev Edition supported the configuration of a local proxy similar to webpack-dev-server's proxy. A quick search shows that Koa has a &lt;A href="https://www.npmjs.com/package/koa-proxy" target="_blank"&gt;proxy middleware (koa-proxy)&lt;/A&gt;&amp;nbsp;that may be of use. Ideally, we could include a koa-proxy.js (or json) file to configure our proxy info.&lt;/P&gt;&lt;P&gt;This would make ExB Dev Edition more developer friendly; we would not need to code special logic for the dev only scenarios.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 12:55:22 GMT</pubDate>
    <dc:creator>RyanTaylor</dc:creator>
    <dc:date>2025-07-15T12:55:22Z</dc:date>
    <item>
      <title>Support proxy configuration in ArcGIS Experience Builder Dev Edition for local development</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idi-p/1633116</link>
      <description>&lt;P&gt;During local development the experience is hosted on &lt;A href="https://localhost:3001" target="_blank"&gt;https://localhost:3001&lt;/A&gt; per the typical ExB installation and our backed API is hosted on &lt;A href="https://localhost" target="_blank"&gt;https://localhost&lt;/A&gt;&amp;nbsp;(or another domain). However, the Integration, Acceptance, and Production frontend and backend deployments are all deployed on the &lt;U&gt;same domain&lt;/U&gt;, e.g., &lt;A href="https://mydomain.com/myapp" target="_blank"&gt;https://mydomain.com/myapp&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When calling our custom backend API we use known relative paths — e.g.,&amp;nbsp;fetch("api/weather") — as we prefer convention over configuration. However, this isn't workable as without a proxy the frontend sends requests to &lt;A href="https://localhost:3001/api/weather" target="_blank"&gt;https://localhost:3001/api/weather&lt;/A&gt;&amp;nbsp;rather than &lt;A href="https://localhost/api/weather" target="_blank"&gt;https://localhost/api/weather.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To support this in our custom non-ExB apps we utilize &lt;A href="https://webpack.js.org/configuration/dev-server/#devserverproxy" target="_blank"&gt;webpack-dev-server's proxy&lt;/A&gt; configuration. It appears the ExB Dev Edition uses Koa to serve the application. It would be very helpful it ExB Dev Edition supported the configuration of a local proxy similar to webpack-dev-server's proxy. A quick search shows that Koa has a &lt;A href="https://www.npmjs.com/package/koa-proxy" target="_blank"&gt;proxy middleware (koa-proxy)&lt;/A&gt;&amp;nbsp;that may be of use. Ideally, we could include a koa-proxy.js (or json) file to configure our proxy info.&lt;/P&gt;&lt;P&gt;This would make ExB Dev Edition more developer friendly; we would not need to code special logic for the dev only scenarios.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 12:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idi-p/1633116</guid>
      <dc:creator>RyanTaylor</dc:creator>
      <dc:date>2025-07-15T12:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Support proxy configuration in ArcGIS Experience Builder Dev Edition for local development</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idc-p/1634997#M4363</link>
      <description>&lt;P&gt;1000%, this would help a lot with development!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 15:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idc-p/1634997#M4363</guid>
      <dc:creator>NHannig</dc:creator>
      <dc:date>2025-07-22T15:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Support proxy configuration in ArcGIS Experience Builder Dev Edition for local development</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idc-p/1640830#M4433</link>
      <description>&lt;P&gt;I greatly support this idea! The use of proxies was supported in WAB and it would be helpful to have it in the ExpBuilder too&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 12:12:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idc-p/1640830#M4433</guid>
      <dc:creator>LucVanDijk</dc:creator>
      <dc:date>2025-08-11T12:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Support proxy configuration in ArcGIS Experience Builder Dev Edition for local development</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idc-p/1674323#M4877</link>
      <description>&lt;P&gt;I hope ESRI works on this&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 18:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/support-proxy-configuration-in-arcgis-experience/idc-p/1674323#M4877</guid>
      <dc:creator>NHannig</dc:creator>
      <dc:date>2025-12-19T18:11:55Z</dc:date>
    </item>
  </channel>
</rss>

