feat: Initialize Angular SSR application with core pages, components, and server setup.

This commit is contained in:
Timo
2026-01-03 12:53:37 +01:00
parent 0ac17ef155
commit b52e47b653
28 changed files with 1115 additions and 461 deletions

View File

@@ -1,3 +1,6 @@
// IMPORTANT: DOM polyfill must be imported FIRST, before any browser-dependent libraries
import './src/ssr-dom-polyfill';
import { APP_BASE_HREF } from '@angular/common';
import { CommonEngine } from '@angular/ssr';
import express from 'express';
@@ -44,7 +47,7 @@ export function app(): express.Express {
}
function run(): void {
const port = process.env['PORT'] || 4000;
const port = process.env['PORT'] || 4200;
// Start up the Node server
const server = app();