Introducing Express support into our application

When we develop client/server applications with Node.js, it makes our lives a lot easier if we can use a framework that allows us to develop the server-side part, especially if it comes with a rich ecosystem of add-in functionality to cover features such as connecting to databases and working with the local filesystem. This is where Express comes into play; it's a middleware framework that fits neatly alongside Node.js.

As we are going to create our server-side code completely from scratch, we should start off by creating the base tsconfig.json and package.json files. To do this, run the following commands in the Server folder, which will also add Express support by importing the Express and ...

Get Advanced TypeScript Programming Projects 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.