Study Angular Universal https://angular.io/guide/universal % npm run build:ssr will create the server side code. like: dist/server/main.js It might use Express.js and it is plain minified CJS script.