...

/

A `Hello World` Application in Express

A `Hello World` Application in Express

Let’s apply what we’ve learned so far about Node.js and Express.

We'll cover the following...

We can apply what we’ve learned so far by generating a basic Express application that can be used as a boilerplate to build an even more complex application. Let’s navigate to the backend directory, open a terminal, and start!

Code Hello World using Express

Let’s begin by choosing a port in an Express application that will receive or listen to requests on the server. (We’ll talk about ports in more detail later in this lesson.) The port that’s chosen is the server that listens to the GET requests on port 3000 and returns a Hello World! ...