Tuesday, 11 September 2018

Looking for resources on serving React application

Greetings,I've been working on a node/react application and am looking for a decent way to serve this. I know it would be a lot to type so if anyone can point me to some articles in the right direction I'd greatly appreciate it.Currently I'm running my react application through create-react-app (typescript version) on port 80 and having my express server running on a different port (3000).I'm looking for a solution that would have me be able to serve SSL credentials with React on port 443, while also having my express server endpoints running on 443, and diverting all requests from port 80 to 443.I've had experience with serving SSL/TLS credentials on port 443 and diverting traffic to 443 from 80 with just a plain node application, but also serving a react application on the same port seems to thow a wrench in this whole process for me. I imagine having to 'disconnect' from create-react-app-ts and look towards deploying via webpack would in order, let me know if i'm wrong.Thanks in advance.

Submitted September 11, 2018 at 11:46PM by Equality7_2521_

No comments:

Post a Comment