Featured resource
pluralsight tech forecast
2025 Tech Forecast

Which technologies will dominate in 2025? And what skills do you need to keep up?

Check it out
Hamburger Icon
  • Labs icon Lab
  • Core Tech
Labs

Practice: Node.js in the Terminal

This lab provides a hands-on environment to help you practice the concepts learned in the course "Node.js in the Terminal".

Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon Oct 29, 2024

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Introduction

    Welcome to the Hands-On Lab

    Practice: Node.js in the Terminal

    This lab provides a hands-on environment to help you practice the concepts learned in the course Node.js in the Terminal

    Feel free to reference the course if you have any questions regarding the concepts covered in this lab.

    Each of the following Steps relates directly back to the course Module with the same name.

  2. Challenge

    Discover the Node Environment

    Practice interacting with Node.js from the terminal.

    The following Tasks use the files in the Module2 directory. In the Terminal to the right, navigate into that directory to perform these tasks.

    cd ~/workspace/Module2
    
  3. Challenge

    Import Modules

    Practice including modules.

    The following Tasks use the files in the Module3 directory. In the Terminal to the right, navigate into that directory to perform these tasks.

    cd ~/workspace/Module3
    
  4. Challenge

    Manage Files and Folders

    Practice working with files.

    The following Tasks use the files in the Module4 directory. In the Terminal to the right, navigate into that directory to perform these tasks.

    cd ~/workspace/Module4
    
  5. Challenge

    Create a Simple HTTP Server

    Explore the core HTTP module.

    The following Tasks use the files in the Module5 directory. In the Terminal to the right, navigate into that directory to perform these tasks.

    cd ~/workspace/Module5 
    

    Note: Using the --watch argument should allow the server to restart with the upcoming change.
    If you are not seeing the expected result, you may try restarting the server. In the Terminal window running the server press the key combination ctrl+c. This will stop the running server. Then you can restart the server using the command node --watch server.

  6. Challenge

    Congratulations

    Congratulations on Finishing

    Congratulations on completing this lab.

    Feel free to continue using this lab to practice the other concepts that were presented in Node.js in the Terminal course.

    The best as you continue your Node journey.

Jeff Hopper is a polyglot solution developer with over 20 years of experience across several business domains. He has enjoyed many of those years focusing on the .Net stack.

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.