Steps to Follow
- npm install
- npm run build:ssr && npm run serve:ssr
For Production
- npm run build:ssr
- copy dist/ folder to your server
- navigate to folder where dist/ folder exist in your server
- npm install -g pm2 --> Install pm2
- pm2 dist/server.js --> Which runs on port 4000
- Use nginx reverse proxy to running port (OR) run pm2 to 80 port