React: How to publish page on server using React-starter-kit

So, I created a page using repo from:

I have my own global ftp server. And now I would like to publish my project on server.

What is the best way to do it. Should I copy all files to ftp server and just exec command 'npm start'? Or maybe I should deploy it?

I'm new in web deployment and not sure how it works.

Thanks for any tips.


This is a big topic to cover, whatever your linux distribution is, you probably will always need 2 servers - a proxy server, and an app server.

I'd recommend you wrap your compiled sites with a simple Node.js server like Express or Hapi. Then configure nginx to properly route all the requests to the application. Checkout some detailed guides from DigitalOcean

  1. CentOS:
  2. Ubuntu:

Minor steps might be slightly different but you get the idea

js interview questions