<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Peter Kronenberg</title>
    <description>The latest articles on DEV Community by Peter Kronenberg (@peterkronenberg).</description>
    <link>https://dev.to/peterkronenberg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F723026%2F524c86ce-c5cd-40ed-980f-500e7ede7aa2.png</url>
      <title>DEV Community: Peter Kronenberg</title>
      <link>https://dev.to/peterkronenberg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/peterkronenberg"/>
    <language>en</language>
    <item>
      <title>Integrating with Spring Boot</title>
      <dc:creator>Peter Kronenberg</dc:creator>
      <pubDate>Sun, 17 Oct 2021 19:29:47 +0000</pubDate>
      <link>https://dev.to/peterkronenberg/integrating-with-spring-boot-4jhf</link>
      <guid>https://dev.to/peterkronenberg/integrating-with-spring-boot-4jhf</guid>
      <description>&lt;p&gt;Hi, I'm an experienced Java developer, but new to React (and Javascript frameworks in general).  &lt;/p&gt;

&lt;p&gt;What is the best way to integrate React and Spring Boot but still make development possible? I'm following a procedure outlined here &lt;a href="https://dev.to/arpan_banerjee7/run-react-frontend-and-springboot-backend-on-the-same-port-and-package-them-as-a-single-artifact-14pa"&gt;https://dev.to/arpan_banerjee7/run-react-frontend-and-springboot-backend-on-the-same-port-and-package-them-as-a-single-artifact-14pa&lt;/a&gt; which essentially copies the contents of the React build directory to the target directory, so that Spring can serve the files at runtime. The React build process combines all of the React js files into several compressed js files. The problem with that is then I see requests such as this: GET /static/js/2.09068613.chunk.js, which makes it difficult to know what's going on.&lt;/p&gt;

&lt;p&gt;I can't run the Spring server and react server separately, because I'm using Spring Security, which requires that the user is routed through it.  So localhost:8080, and not localhost:3000&lt;/p&gt;

&lt;p&gt;What's the best way to approach this?&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
