Contact us for pricing
Pre-requisitesThis course is aimed at developers who want to create web applications using the node.js ecosystem. General programming ability is required but specific experience with web development is not required.
Overview of Web Application DevelopmentUnderstanding web application development
History of the different technologies
The LAMP stack
The MEAN stack
Introduction to node.jsWhat is Node.js?
Understanding the node.js ecosystem
Creating an initial project
Looking at package.json
Managing dependencies with npm
Development EnvironmentSetting up a development environment
Choosing Integrated development environment
Auto build your project - nodemon
General programming ideas - comments, variables, arrays, functions, loops, conditions and objects.
Modules - import & require
Using an iife
The fetch api
Server side asynchronous operations
Express.jsThe original server side framework for web development is express.js
Adding express to your project
Creating a simple endpoint
Endpoint parameters - request and response
Creating a web page using a template engine
Sending objects in the body of a request
TemplatingTemplating engines ejs & jade
Configuring a template engine
Partial files and includes
Passing parameters to a template
Using mongodbThis course will use mongodb for storage of objects.
Introduction to mongodb
Installing and running mongodb
Creating a database and some test tables
Simple inserts and queries
Adding Mongoose to your node.js web application
Making some simple calls to mongodb
Create a RESTful web serviceRouting in Express
REST endpoints with path parameters
REST request methods - GET, PUT, POST & DELETE
Express.js MiddlewareExpress has the facility to add extra functionality to a request using middleware. This can be used for things like authentication, change the format of the response, error handling and cookie and session storage.
Chaining calls with next()
Creating a simple filter chain
Using sessions and cookies
Create your own middleware module
Creating a simple authentication mechanism using middleware
Automated TestingThere are a number of automated testing frameworks and this module can be customised to match the students preferred environment. Cypress.io will be used if no preference is specified.
Comparison of automated testing frameworks
Overview of common facilities of a testing framework
Implementation of testing using an appropriate automated testing framework
Node.js and Cloud FunctionsNode.js is a language supported by AWS Lambda and Firebase / Google Cloud Platform. This module will demonstrate a cloud functions in action.
What is a cloud function?
Advantages of cloud functions.
Creating a simple cloud function on Firebase