Welcome to the Linux Foundation Forum!

LFW212 - New course version now live (02.14.2022)

mstepien Posts: 442
edited February 2022 in LFW212 Class Forum


A new course version of LFW212 went live today. This update brings the course content and lab exercises into line with the recent OpenJS Node.js Services Developer (JSNSD) certification release (Node.js 16) while providing additional essential industry knowledge addressing latest versions of the tooling, libraries and frameworks used.

To ensure you have access to the latest updates, please clear your cache before accessing the course.

The Linux Foundation Training Team


  • krave
    krave Posts: 58

    @mstepien Hi, Magda. Do you have more details about the update? I am in the half way lerning the course. Currently I am learning the chapter 6. Do I have to go over the first 5 chapters? Thank you!

  • davidmarkclements
    davidmarkclements Posts: 270
    edited February 2022

    Hey @krave - no you shouldn't need to redo 1-5. Most of the updates in LFW212 revolve around node core, tooling, framework and library updates but if you managed to understand and complete 1-5 recently then you're good.

    You will want to switch from Node 12/npm 6 to Node 16/npm 8 while using the material however. See chapter 1 of the updated content to install the latest targetted Node version for the certification.

  • mstepien
    mstepien Posts: 442

    Hi @krave,

    • Chapter 2 - no changes
    • Chapter 3
    1. "Creating a Web Server with Express (1)" page (updates to paragraphs 3 and 4, updates to the generated package.json file)
    2. "Creating a Web Server with Fastify (1)" page (small update to the 3rd paragraph, updated screenshot for the npm init fastify command output)
    3. "Creating a Web Server with Fastify (2)" page (updated output for package.json added by the npm init fastify command)
    4. Creating a Web Server with Fastify (4) page (updated URLs to "Fastify: Request" and "Fastify: Reply" Documentation)
    • Chapter 4
    1. "Serving Static Content with Fastify (1)" page (package.json file content updated, devDependencies section of package.json updated)
    2. "Serving Static Content with Fastify (2)" page (code used to create the public folder updated)
    3. "Serving Static Content with Fastify (3)" page (last paragraph updated)
    4. "Using Templates with Fastify (1)" page (code to delete the public folder updated)
    5. "Using Templates with Fastify (2)" page (updated code to recreate the routes/root.js file)
    • Chapter 5
    1. "Conventions" page (note added to ensure that the installed npm version (npm -v) is 8.1.2 or higher, updated screenshot for cat package.json)
    2. "Implementing a RESTful JSON GET with Fastify (1)" page (lots of changes on this page - both in paragraphs and in the code + some new content)
    3. "Implementing a RESTful JSON GET with Fastify (3)" page (new screenshot for the node -e "http.get('http://localhost:3000/bicycle/1', ({headers}) => console.log(headers))" output)
    4. "Implementing a RESTful JSON GET with Express (2)" page (new screenshot for the node -e "http.get('http://localhost:3000/bicycle/1', ({headers}) => console.log(headers))" output)
    • Chapter 6
    1. "Implementing POST, PUT and DELETE with Fastify (1)" page (updates to the 1st paragraph)
    • Chapter 7
    1. "Fetching Data" page (code to install and add got to the dependencies updated)
    2. "Managing Status Codes (2)" page (paragraph and code related to fastify-sensible removed)
    • Chapter 8
    1. "Single-Route, Multi-Origin Proxy (1)" page (paragraph and code related to fastify-sensible removed, content of the plugins/reply-from.js file updated, additional information on fastify-plugin library provided)
    • Chapter 9
    1. app.js file replaced with routes/bicycle/index.js throughout the chapter
    2. "Route Validation with Fastify (1)" page (paragraph related to fastify-sensible removed, contents of the app.js file removed)
    • Chapter 10
    1. "Block an Attackers' IP Address with Fastify" page (mention of fastify-sensible removed)

    In addition, please review lab exercises and updated course resources that you can access by following instructions in the introductory chapter.

    Other than that, there were a lot of small changes to fix typos and improve the flow.

    Hope this helps.

    Thank you,

  • krave
    krave Posts: 58

    @davidmarkclements and @mstepien Thank you for the confirmation and the very thogough list! That is a weight off my mind.

    Maybe we can have a release note just like this list for each update.

    Thank you both again and have a great day!

  • AlexDumitru

    Hi Magda (@mstepien),

    Sorry to hijack this thread, but I just noticed the links to Fastify docs are broken. Not sure when this happened, but the docs have an additional path parameter: /Reference, so the ones from the course result in a 404.

    This is where I noticed:
    Chapter 09 - Web Security: Handling user input, on the page: Route Validation with Fastify (2). In the course, we have the links:
    https://www.fastify.io/docs/latest/Routes/#options and https://www.fastify.io/docs/latest/Validation-and-Serialization/#validator-compiler when they actually have to be https://www.fastify.io/docs/latest/Reference/Routes/#options and https://www.fastify.io/docs/latest/Reference/Validation-and-Serialization/#validator-compiler, respectively.

    I haven't checked other pages yet, but I have a feeling this case will be throughout the course.


  • mstepien
    mstepien Posts: 442

    Hi @AlexDumitru,

    Thank you for letting us know. These URLs have been updated.



Upcoming Training