hands-on lab

Starting Your First ExpressJS Server

Up to 45m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

NodeJS is a very popular JavaScript runtime that lets you design and build super fast applications. It's the core of most of both backend and frontend JavaScript applications. Most of the time, NodeJS is not used alone, but it is used with one of the various frameworks available. One of them is ExpressJS. ExpressJS is one of the most used frameworks for NodeJS. It's fast, easy to use and manage, and minimal framework. It's mainly used to build RESTful APIs and web applications. It's very powerful and easy to set up and use but, instead of other popular NodeJS frameworks, it doesn't provide you loads of pre-created parts and components to work with. An example is that ExpressJS doesn't provide you a native solution for handling user sessions. This could be seen as a good thing: you have the possibility to expand and integrate the framework with loads of libraries and modules, but it can also be seen as a bad thing: novices could find the framework too hard to work with.

In this lab, you will learn the basic principles of ExpressJS, and you will start your first ExpressJS server.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Understand the basic principles of the ExpressJS framework
  • Start an ExpressJS server

Intended Audience

  • Software engineers that want to create or migrate their application using a fast and minimal NodeJS framework
  • JavaScript enthusiasts that want to go deep into a new framework


To get the most out of this lab, you should have basic knowledge of JavaScript. To achieve this, we suggest taking the following lab:

About the author
Learning paths

Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.

Covered topics
Lab steps
Understanding the Basic Principles of ExpressJS
Connecting to the NodeJS Web IDE
Creating a Node Project and Starting an ExpressJS Server