Developing Node.js Web Applications

Course Code: NODEJS

Duration: 2 days

 
 
 
 

Developing Node.js Web Applications Course Overview

This Developing Node.js Web Applications course is for developers who wish to use JavaScript to create network applications.

This course explains the event loop structure of Node.js applications and how to use structures like callbacks and promises to take advantage of it. It goes on to describe file handling, streams and error handling.

It takes a hands-on approach to Node.js applications and includes details on NPM, database access and the Express framework.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

By the end of the course delegates should be able to:

  • Install Node.js, NPM and Express
  • Understand Node.js event-based programming
  • Create a web server and build web applications on it
  • Create and use modules
  • Build a web application using promises, buffers and streams
  • Improve an application with robust error handling
  • Handle routing with Express.js
  • Use Node.js to connect to a database

Who will the Course Benefit?

This course is aimed at JavaScript developers who wish to use Node.js to build fast, efficient and scalable applications.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Setting up the Node.js environment
  • Creating and using Node.js modules
  • Using callbacks, promises and async/await
  • Dealing with errors efficiently
  • Using buffers to handle binary data
  • Transferring data using streams
  • Handling requests and responses with Express
  • Building a REST API
  • Storing data to a database
  • Managing API security

Developing Node.js Web Applications Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCING NODE.JS

  • What is Node.js?
  • Asynchronous Processing
  • Server-side JavaScript
  • Installing Node and NPM
  • Running REPL
  • Executing a File
  • Command Line Input

Session 2: MODULES AND NPM

  • Node.js Modules
  • Installing with NPM
  • Global and Local Installation
  • The package.json File
  • The require() Function

Session 3: EVENTS AND CALLBACKS

  • Callbacks
  • Promises
  • Arrow Functions

Session 4: MANAGING DATA

  • JSON and Node.js
  • Using Buffers
  • Streaming Data
  • Accessing the File System

Developing Node.js Web Applications Training Course

Session 5: ERROR HANDLING

  • Errors from Callbacks and Promises
  • Application Specific Errors
  • Using the verror Module
  • Running with Nodemon

Session 6: THE EXPRESS FRAMEWORK

  • Express Web Servers
  • Request and Response Objects
  • Configuring Routes
  • Uploading Files
  • REST Applications

Session 7: DATABASE INTEGRATION

  • Connecting to SQL Databases
  • Connecting to MongoDB
  • Schema Management
  • Transaction Handling

Session 8: API SECURITY

  • Securing Passwords
  • JSON Web Tokens
  • Authenticating Endpoints
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Requirements

An understanding of HTML and CSS selectors, as well as some knowledge of JavaScript is required. This knowledge can be obtained by attendance on the pre-requisite courses.

Pre-Requisite Courses

Course Reviews

Good content, Brian was friendly and really helpful.

Kieran - Junior Software Engineer (MSc) - Government - July 2023

Learned a lot from this course, especially the second day. The content was at a good level and I enjoyed building the 'tracks' project over the two days, especially enjoying how each new topic was integrated into the product iteratively. Brian's delivery was good and all concepts were explained well. Thanks!

Lewis - Government

Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 2 days

Price: £1,050.00 exc. VAT 


Start Date Options Spaces  
07 Mar 2024
StayAhead Virtual Courses available 
Spaces Book Now 
20 May 2024
StayAhead Virtual Courses available 
Spaces Book Now 
29 Jul 2024
StayAhead Virtual Courses available 
Spaces Book Now 
30 Sep 2024
StayAhead Virtual Courses available 
Spaces Book Now 
25 Nov 2024
StayAhead Virtual Courses available 
Spaces Book Now 
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

 
 
 
+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2024 StayAhead Training Ltd
Cookies   /   Privacy Policy