By completing a set of small exercises, this lab helps you develop an understanding of the basic syntax and fundemental concepts of th JaavaScript language. You should use the sample code provided with the lecture slides as an aid to this task.
The main aim of this lab is to prepare you for working with Node.js. The lab will focus on the behaviour constructs of JS, specifically, functions, methods and constructors.
In this lab you will add more functionality to the server side scripts. This lab will introduce you to the following: - define a web API for your service - separate routing out into a routing script - do more advanced routing based on the HTTP verb - test your solution with a suitable Rest Client
MongoDB is a store for JSON documents, and allows these documents to be queried and manipulated, using JSON itself as the query language.
Develop a node-based API for data persistence. Continuous assessment percentage - 50% (25% of your overall mark including final exam).
In this lab you will add publish subscribe to the contacts service from the last lab. We will implement the confirmation email example from the Microservices talk.