Introduction to Express.js - Software School (2024-03-14)

10 days ago
1

Learn how to build an HTTP web server in the Nodejs (Serverside Javascript) programming language with the ExpressJS library.

The lesson goes over generating an NPM project and installing express.

Then, you learn how to code a basic server running at a specific port on localhost.

You learn how to define endpoint routes and their handler functions.

You get exposed to the browser developer tools (DevTools) to monitor network requests so you can understand the request-response from the HTTP GET request made to the web server.

You also learn how to send back HTML to the client.

You learn how to change the status code of the response.

The lesson also shows how to use the static files middleware so you don't have to manually define a route for every asset file that you might have.

The lecture also briefly shows how to send back a JSON response to the client.

Loading comments...