Starting Your First ExpressJS Server

Lab Steps

lock
Understanding the Basic Principles of ExpressJS
lock
Connecting to the NodeJS Web IDE
lock
Creating a Node Project and Starting an ExpressJS Server

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit45m
Students80
Ratings
5/5
starstarstarstarstar

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

Prerequisites

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
Students17588
Labs94
Courses2
Learning paths5

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.