Chapter 13. Building Applications

Up until this point, we have been looking at various features of the TypeScript language, and have worked with some of the most popular TypeScript frameworks available. We have explored client-side frameworks such as Angular, Aurelia, React, and Backbone, as well as server-side frameworks such as Node and Express. In this chapter, we will combine the two, and look at how to serve a web application from Express for each of these frameworks. We will also explore how to interact between client-side and server-side code using REST endpoints.

In general, the server-side of an application is responsible for two things. Firstly, it will respond to an initial web page request, compile the HTML page, and send this page ...

Get Mastering TypeScript - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.