sistemaon / NodeJS_Services_Development_LFW212

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS Services Development LFW212



01. Introduction

Preparatory for OpenJS Node.js Services Developer Certification by Linux Foundation.

Linux Foundation Events.
Linux Foundation Certification Catalog.
Linux Foundation Training.
Open JS Foundation.


02. Setting Up

Install NodeJS

The recommended way to install Node.js on macOS and Linux is by using a Node version manager, using NVM.

Node Version Check:
> node -v
NPM Version Check:
> npm -v

03. Creating a Web Server

Creating a Web Server

Node HTTP Core: Node HTTP Core Server.
Node Express: Node Express Server.
Node Fastify: Node Fastify Server.

04. Serving Web Content

Serving Static Content

Serving Static Content Express: Static Content Express.
Serving Static Content Fastify: Static Content Fastify.

Using Templates

Using Templates Express: Templates Express.
Using Templates Fastify: Templates Fastify.

Streaming Content

Streaming Content Express: Streaming Content Express.
Streaming Content Fastify: Streaming Content Fastify.

05. Creating RESTful JSON Services

Implementing a RESTful JSON

RESTful JSON Express: RESTful JSON Express.
RESTful JSON Fastify: RESTful JSON Fastify.

06. Manipulating Data with RESTful Services

Implementing POST PUT DELETE

POST PUT DELETE Express: POST PUT DELETE Express
POST PUT DELETE Fastify: POST PUT DELETE Fastify

07. Consuming and Aggregating Services

Mock Services

Node HTTP Core Server Services: Node HTTP Core Server Services.

Fetching and Combining Data and Managing Status Codes

Node Express Server: Node Express Server.
Node Fastify Server: Node Fastify Server.

08. Proxying HTTP Requests

Single-Route Multi-Origin Proxy

Node Express Server: Node Express Server.
Node Fastify Server: Node Fastify Server.

Single-Origin Multi-Route Proxy

Node Express Server: Node Express Server.
Node Fastify Server: Node Fastify Server.

09. Web Security Handling User Input

Route Validation

Node Express Server: Node Express Server.
Node Fastify Server: Node Fastify Server.

10. Web Security Mitigating Attacks

Block an Attackers IP Address

Node Express Server: Node Express Server.
Node Fastify Server: Node Fastify Server.


Labs

03. Creating a Web Server

Lab 3.1 Deliver Data from a Library API

Node HTTP Core: Node HTTP Core.
Node Express: Node Express.
Node Fastify: Node Fastify.

Lab 3.2 Implement a Status Code Response

Node HTTP Core: Node HTTP Core.
Node Express: Node Express.
Node Fastify: Node Fastify.

04. Serving Web Content

Lab 4.1 - Render a View

Node Express: Node Express.
Node Fastify: Node Fastify.

Lab 4.2 Stream Some Content

Node Express: Node Express.
Node Fastify: Node Fastify.

05. Creating RESTful JSON Services

Lab 5.1 Implement a RESTful JSON

Node Express: Node Express.
Node Fastify: Node Fastify.

06. Manipulating Data with RESTful Services

Lab 6.1 Implement a RESTful JSON POST

Node Express: Node Express.
Node Fastify: Node Fastify.

Lab 6.2 Implement a RESTful JSON DELETE

Node Express: Node Express.
Node Fastify: Node Fastify.

07. Consuming and Aggregating Services

Lab 7.1 Implement a Data Aggregating Service

Node HTTP Core Services: Node HTTP Core Services.
Node Express: Node Express.
Node Fastify: Node Fastify.

08. Proxying HTTP Requests

Lab 8.1 Implement an HTTP Route-Based Proxy

Node Express: Node Express.
Node Fastify: Node Fastify.

Lab 8.2 Implement a Full Proxying Service

Node Express: Node Express.
Node Fastify: Node Fastify.

09. Web Security Handling User Input

Lab 9.1 Implement a Service That Is Not Vulnerable to Parameter Pollution

Node Express: Node Express.
Node Fastify: Node Fastify.

Lab 9.2 Validate a POST Request

Node Express: Node Express.
Node Fastify: Node Fastify.

10. Web Security Mitigating Attacks

Lab 10.1 Block an Attackers IP Address With Express

Node Express: Node Express.

Lab 10.2 Block an Attackers IP Address With Fastify

Node Fastify: Node Fastify.


References and Helpers

Express HTTP Proxy Middleware

Express Request

Express Response

Express Error Handling

Express Validator

Express Behind Proxies

Fastify Request

Fastify Reply

Fastify Routes Options

Fastify Validator Compiler

Fastify Adding a Shared Schema

Fastify Fluent JSON Schema

Fastify Testing

Fastify Reply Redirect

Fastify Reply From

Fastify Plugin

Fastify Plugins

Fastify Sensible

Fastify Trust Proxy

Fastify Hooks

Fastify Lifecycle

HTTP Response Status Codes

HTTP Request Methods

Cross Site Scripting XSS

Cross Site Scripting XSS

Point of View

Transfer Encoding

Readable Stream

JSON Specification

JSON Schema

Architectural Styles and the Design of Network-based Software Architectures

Representational State Transfer

Representational State Transfer

Application Programming Interface

Simple Object Access Protocol

Simple Object Access Protocol

Remote Procedure Call

GOT

Reflected Attack

Promise

Promise All

Destructuring Assignment

Node HTTP

Node HTTP GET

Node Stream

Node Socket Remote Address

Node CLI

Node Undici

Set Timeout

Clear Timeout

Request Destroy

Proxy Server

Proxy Server and Tunneling

Iterating Over Async Generators

For Await...Of

SQL Injection

Cross Site Request Forgery

URL Search

URL Constructor

Supertest

To String

Is Array

Array

DoS Attack

DDoS Attack

Abort Controller

Fetch API

NPM Node Fetch

NPM Node Undici

NGINX

Varnish Cache



About


Languages

Language:JavaScript 97.6%Language:Handlebars 1.6%Language:CSS 0.5%Language:Pug 0.4%Language:HTML 0.1%