Module 1 Introduction

This is an introduction to the work we'll be doing in Module 1.0.

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

Module 1 Introduction

In this module, we'll be creating a Node server from scratch with the help of the Express framework. We'll then introduce the benefits of TypeScript and integrate TypeScript into our Node server application.

For the details within this module:

  • We'll introduce Node and explain how Node is different to other web server technologies.
  • Run a simple JavaScript file with Node.
  • Create a server with the help of the popular Express package.
  • Use Nodemon as a development tool to help with automatic reloading of our code.
  • Introduce TypeScript and explain the benefits of using it.
  • Add TypeScript to our server project and see how we're able to compile a TypeScript project to valid JavaScript.
  • Install and use ESLint as our development code linting tool.
  • Finally, use mock data to create a GET and POST route within our server to mimic how RESTful APIs are to usually behave.

Lesson Transcript

  • [00:00 - 00:07] Hi there, in this module we'll be creating a node server from scratch. Then we'll use Express to bootstrap a simple web server.

  • [00:08 - 00:21] In the end, we'll introduce the benefits of TypeScript and integrate TypeScript into our node server. In fact, the details within this module will introduce node and explain how node is different to other web server technologies.

  • [00:22 - 00:28] Run a simple JavaScript file with node. Create a server with the help of the popular Express package.

  • [00:29 - 00:38] Use NodeMon as a development tool to help with automatic reloading of our code. Introduce TypeScript and explain the benefits of using it.

  • [00:39 - 00:51] Add TypeScript to our server project and see how we're able to compile a Type Script project to valid JavaScript. Install and use ES lint as our development code linting tool.

  • [00:52 - 01:03] And finally, use mock data to create a get and post route within our server to mimic how RESTful APIs are to usually behave. (upbeat music)

  • [00:00 - 00:07] Hi there, in this module we'll be creating a node server from scratch. Then we'll use Express to bootstrap a simple web server.

    [00:08 - 00:21] In the end, we'll introduce the benefits of TypeScript and integrate TypeScript into our node server. In fact, the details within this module will introduce node and explain how node is different to other web server technologies.

    [00:22 - 00:28] Run a simple JavaScript file with node. Create a server with the help of the popular Express package.

    [00:29 - 00:38] Use NodeMon as a development tool to help with automatic reloading of our code. Introduce TypeScript and explain the benefits of using it.

    [00:39 - 00:51] Add TypeScript to our server project and see how we're able to compile a Type Script project to valid JavaScript. Install and use ES lint as our development code linting tool.

    [00:52 - 01:03] And finally, use mock data to create a get and post route within our server to mimic how RESTful APIs are to usually behave. (upbeat music)