View Code? Open in Web Editor
NEW
Boilerplate for Angular 7 Server Side Rendering
Home Page: https://upendra-tarnoju.github.io/ng7-boilerplate-ssr/
JavaScript 8.19%
TypeScript 69.01%
CSS 16.37%
HTML 6.43%
ng7-boilerplate-ssr's Introduction
Angular 7 Boilerplate Universal app - Server Side Rendering
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
ng7-boilerplate-ssr's People
Contributors
Watchers