Title: React App with server
Last modified: April 14, 2022

---

# React App with server

 *  [mhopperteltrium](https://wordpress.org/support/users/mhopperteltrium/)
 * (@mhopperteltrium)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/react-app-with-server/)
 * Hello. I’m attempting to integrate an existing react app into WordPress but I’m
   having trouble getting anything to render. It’s configured to make API calls 
   to a separate Node server and was previously setup to have the server app serve
   the react front-end, so I’m having trouble determining how to adapt my app to
   run through ReactPress.
 * I suspect that it’s just a path issue as I am getting warnings about missing 
   files (with incorrect paths). How can I correct the path for both the build files
   as well as my API calls?
 * Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [rockiger](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/react-app-with-server/#post-15566275)
 * You need to change the build path of your app. In your `package.json` chage the‘
   build’ command:
 * `“build”: “PUBLIC_URL=/wp-content/reactpress/apps/[your-app-folder-name]/build
   react-scripts build”`
 *  Thread Starter [mhopperteltrium](https://wordpress.org/support/users/mhopperteltrium/)
 * (@mhopperteltrium)
 * [4 years ago](https://wordpress.org/support/topic/react-app-with-server/#post-15567758)
 * Thanks! As mentioned, that helped, but we’re still having trouble loading images.
   Any suggestions?
    -  This reply was modified 4 years ago by [mhopperteltrium](https://wordpress.org/support/users/mhopperteltrium/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘React App with server’ is closed to new replies.

 * ![](https://ps.w.org/reactpress/assets/icon-256x256.png?rev=2471443)
 * [ReactPress - Create React App for Wordpress](https://wordpress.org/plugins/reactpress/)
 * [Support Threads](https://wordpress.org/support/plugin/reactpress/)
 * [Active Topics](https://wordpress.org/support/plugin/reactpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reactpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reactpress/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [mhopperteltrium](https://wordpress.org/support/users/mhopperteltrium/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/react-app-with-server/#post-15567758)
 * Status: not resolved