sudipto68 / node-express-to-deploy-react-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-express-to-deploy-react-app

  • install pm2 globaly, run npm install pm2 -g follow this https://pm2.keymetrics.io/
  • clone this repo git clone git@github.com:Nuruzzamancse/node-express-to-deploy-react-app.git
  • go to root directory cd node-express-to-deploy-react-app
  • run npm i
  • replace demo with your react app and also replace demo in index.js file
  • cd react-app (your react app name)
  • run npm i
  • run npm run build
  • go to root directory cd ..
  • run pm2 start index.js

About


Languages

Language:JavaScript 100.0%