Serving an Angular application with Node.js

Just like we did in the preceding chapter, we need to configure Node.js to server the files of our frontend web application. We use the Express static middleware to implement this feature just like we did in the preceding chapter.

Please refer to Chapter 11, Frontend Development with React and TypeScript, to learn more about the Express static middleware. In particular, please refer to the Serving React applications with Node.js section.

Get Learning TypeScript 2.x - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.