L
L
Lorem Ipsum2020-04-27 15:41:54
Node.js
Lorem Ipsum, 2020-04-27 15:41:54

Deploy React.js + Node.js on your server?

Hello! I am doing a project on React.js + Node.js Express. On local I run both the client and the server through Concurrently and proxy all requests from the client to the server.

"scripts": {
    "server": "nodemon server.js",
    "client": "PORT=4000 npm run start --prefix client",
    "dev": "concurrently \"npm run server\" \"npm run client\""
  }

How to properly deploy a project to a production server (Ubuntu server)? Without Firebase, Heroku and similar cloud platforms.
Now I do the same as on the local.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question