Welcome to intro to Node.js. This course is in collaboration with FrontEndMasters.

Instructor

My name is Scott Moss, and I created this course. I've been an engineer for nearly 15 years, during which time I've worked on a variety of projects, including a stint at Netflix. Teaching is a passion of mine that I've been actively pursuing since I began learning to code and I continue to love it! I’m based in the Bay Area where these days I spend most of my time investing in startups. I love competitive shooter games, sneakers, basketball, and anime, oh, and sour candy.

Course

Welcome to this introductory course on Node.js! In this course, you will learn what Node.js is, its history, and how to install it. You will also learn how to create a Command Line Interface (CLI), what are npm and modules, the different types of modules available, how to interact with files, how to download modules using npm, how to write tests with Jest, and how to create an HTTP server, handle requests, and serve a simple website. All of these topics will be taught in the context of building a CLI-based note-taking app, along with a simple website to demonstrate the concepts.

By the end of the course, you will have a solid foundation in Node.js and be ready to move onto building real applications using the platform. It does not matter whether you're a seasoned developer or just starting out; this course is an excellent resource for anyone looking to learn about Node.js and its many uses.

Resources

https://github.com/Hendrixer/intro-node-v3

npm

Node.js

Topics

  1. Intro

    Course Intro

    History of Node.js

    Non blocking I/O

    Hello World

    Browser vs. Node.js

    Node REPL

  2. Creating a CLI

    Process and Environment

    What is a CLI

    Creating a CLI

  3. Modules

    What is a module

    Require vs. Import

    Thinking in modules

    Internal Modules

    NPM and 3rd party modules

    Using yargs

  4. File I/O

    Async in node

    The FS module

    Using a file as a DB

    Note CRUD

    Updating commands

  5. Testing

    Types of test

    Unit testing with Jest

  6. Servers

    What is a server

    Vanilla server

    Recap