Deploying React frontend with webpack for rails backend

I’m migrating from heroku, and the app works there and locally. I’ve got the rails backend deployed, but I’m confused on how to deploy the frontend. I know I use a static site, but I guess I’m confused about the build commands. Using webpack seems different from what I’ve found online.

My repo is: GitHub - shoemaer/masked-habbit
Thanks in advance for any advice.

Hi there,
You’ll actually be wanting to use a Web service and set the environment to Ruby - maybe take a look at our docs at https://render.com/docs/deploy-rails to start with?

Regards,

John B

I don’t understand. Like I said, I have the backend deployed. It’s the frontend with react and webpack that I’m confused about. I’ve looked at the docs. Am I misunderstanding your reply?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.