btholt / complete-intro-to-react

A Complete Intro to React, as Given for Frontend Masters
https://frontendmasters.com/learn/react/
MIT License
1.06k stars 927 forks source link

How to deploy this project? #104

Open aishwaryr opened 6 years ago

aishwaryr commented 6 years ago

Just completed V3. Absolutely great course. However there is one aspect that is not clear to me.

I'm very confused about how should I put this project online.

The build that we get in public folder (as Brian taught in the course - Building for Production) doesn't have any index.html , so I'm a little confused (And if I manually copy the index.html from root to public - it doesn't work). Generally in create-react-app projects on doing build we get a public/dist folder that can be uploaded to hosting services. Also in this project after applying server-side rendering we have a server.js too, do we need to host the server and client seperately? How should I proceed if want this project online?