Reputation: 75
I mean I have already run "npm run build" on my react app so do I just host the entire app i.e including the node part as is or should I do something different?
Upvotes: 1
Views: 2333
Reputation: 821
Github pages host only static html files and does not support any server-side rendering... You can build your react files to static html/css/js, and host on github pages... If you have a server, you might consider other options to host your server, maybe heroku or netlify or some other free platforms
Upvotes: 1