Deploying a Universal Application
A Universal app runs a Node.js server that renders Angular pages.
Build the application
ng buildng run project-name:serverStart the server
node dist/project-name/server/main.jsExplanation
Common deployment platforms:
- Node.js servers
- Docker containers
- Cloud providers (AWS, Vercel, Firebase Hosting)
SSR servers render HTML before sending it to the client.