You are on page 1of 2

NodeJS TOC

Session Topic Hands-on `


1 NodeJS Intro
What is Node.js? Why Node.js? Installation of Node.js and Visual Studio Code
The Capabilities of NodeJS Installation of GIT and push codes to GIT repository
Threaded vs Event-Driven architecture
Embracing advances in the JavaScript language
NodeJS Microservices architecture
Node Package Manager (NPM)
Node.js and the Twelve-Factor app model

2 NodeJS Dev Environment & NPM


System requirements, Installing NodeJS using package managers NPM - Installing packages, Package configuration, Running scripts
Native code modules and node-gyp NPM - Semantic versioning, publishing/updating/listing packages
NodeJS version policy NPM - Scopes and repositories, Linking projects for faster debugging and development
Editors and debuggers Setting up globally installed packages
Running and testing commands
NPM - Node Package Manager

3 NodeJS Modules
Defining a module, Finding & Loading CommonJS, JSON modules using require Creating a hello-world module
Finding & Loading ES6 modules using import Loading and using a module
Hybrid CommonJS/NodeJs/ES6 module scenarios Folder as a module
Yarn package management system Module loading from node_modules
NodeJS core modules (http, fs, path, events, os) Building own modules
Invalidating the module cache
Exporting with ES6 syntax

4 FileSystem I/O
Synchronous and Asynchronous file Read, Listing Directory contents
Copying files, check permissions
Avoid race conditions, Cloning a file using streams

5 Event Emitters, JavaScript Asynchronus Programming


Event Basics, Sending & receiving events with EventEmitters JavaScript Async programming
Custom Event Emitters
Call Stack, Callbacks, Callback Queue and Event Loop
Callback Abstraction, Callback Chaining
Promises, Promise Chaining
Request Package, Customizing HTTP Requests
Error handing with appropriate HTTP codes

6 ExpressJS - Building RESTful APIs


Http Server applications, HTTP Sniffer Handling HTTP GET, POST, PUT, PATCH, DELETE requests
Web application frameworks, Express and MVC paradigm Calling a REST Backend service from Express Application
RESTful services, Getting started with ExpressJS Theming Express application
Environment Variables, Route parameters Input Validation
Promises, async functions, and Express router functions

7 Middlewares
Middleware, built-in Middlewares
Creating custom middlewares
3rd party middlewares
CLI tools to create express app
Environments, Configuration, Debugging, Template Engines

8 Database Integration - NO-SQL databases


Connecting to MongoDB, MySQL, cloud db Installation of MongoDB and MongoDB Compass
MongoDB - Define Schema, Model, CRUD operations with No-SQL Db Connecting MongoDB And Node.js
MongoDB - Data validations, Custom Validations, Schematype options, Mongoose validationSending Email Via Node.js Application Using SendGrid
MongoDB - Modelling relationships, Referecing documents, Population, Embedding docs
MongoDB - Transactions, ObjectIDs, Validating ObjectIDs

9 Database Integration - REBMS databases


Connect to MySQL, Using a connection pool
INSERT, UPDATE, DELETE operations
Query a connection object with parameters/without parameters
10 Authentication and Authorization
Hashing passwords Build a Login Application
Authenticating Users with JWT Tokens / passport.js
Generating tokens, Setting response headers
Authorization Middleware, Protecting Routes
Role-based Authorization

11 Error Handling
Handling rejected promises, Express Error Middleware
Try-Catch blocks
Express Async Errors, Logging Errors

12 Deployment
NodeJS application architecture & Development considerations
CI/CD pipeline
Traditional Linux NodeJS service deployment
NodeJS microservice deployment with Docker

You might also like