Node js

Page 1

NODE JS


The following topics will be covered in our NODE JS Online Training:

Copyright @ 2015 Learntek. All Rights Reserved.

2


Node Js Training- Introducing Node • What is Node Js Training? • Node.Js Architecture – Overview

• Components of Node.Js • The Event Loop Concept • Asynchronous I/O • Why NodeJs?

Copyright @ 2015 Learntek. All Rights Reserved.

3


Dev Envrionment Setup • Installing NodeJs • Installing MongoDB

The REPL Terminal

Copyright @ 2015 Learntek. All Rights Reserved.

4


Getting started with Node.Js application • Working with Node.Js Packages (NPM) • Creating a Node.Js application

• Writing Data to the console • Creating a Node.Js Packaged Module • Publishing a Node.js Packaged Module to NPM Registry

Copyright @ 2015 Learntek. All Rights Reserved.

5


Working with Events, Timers & Callbacks in Node.Js • Event Model • Adding work to the Event Queue

• Implementing Callbacks

Copyright @ 2015 Learntek. All Rights Reserved.

6


Handling I/O in Node.js • Buffers • Working with JSON Data

• Compressing & Decompressing Data with Zlib

Copyright @ 2015 Learntek. All Rights Reserved.

7


Accessing the File System • • • •

Opening & Closing Files Writing Files Reading Files Synchronous vs Asynchronous File System Calls • Other FS Tasks

Copyright @ 2015 Learntek. All Rights Reserved.

• • • • • •

Verifying Path Existence Getting File Info Listing Files Deleting file Creating & Deleting Directories Renaming Files & Directories

8


Implementing HTTP Services • Creating a simple HTTP Server • Understanding URLs

• Processing Querystring and Parameters • Serving static files with HTTP Server • Implementing dynamic GET Servers • Implementing POST Servers

Copyright @ 2015 Learntek. All Rights Reserved.

9


ExpressJs – The Middleware • Installing ExpressJs • Creating a simple Hello World Express App • The express generator • Routing • Writing Middleware

• Error Handling • EJS / JADE – Template to create Views Copyright @ 2015 Learntek. All Rights Reserved.

10


Building a Data Model with MongoDB & Mongoose • MongoDB – Introduction • Mapping of SQL Knowledge to MongoDB

• CRUD Operations in MongoDB (using MongoDB Shell) • Connecting express app to MongoDB • Defining Simple Mongoose Schema

Copyright @ 2015 Learntek. All Rights Reserved.

11


Writing REST APIs Using Express • The rules of a REST API • Setting up the API in Express

• Handling CRUD Operations to MongoDB using Mongoose

Copyright @ 2015 Learntek. All Rights Reserved.

12


Consuming REST API • How to call an API from Express • Handling the CRUD Operations to MongoDB by consuming the Express API • Modifying Views to display data

Copyright @ 2015 Learntek. All Rights Reserved.

13


Managing Authentication and User Sessions • Creating a user schema for MongoDB, with password encryption • Creating an authentication API with Passport

• Securing relevant API endpoints • Managing User Sessions

Copyright @ 2015 Learntek. All Rights Reserved.

14


Testing Node Servers • Unit Testing with Mocha

➢Deploying to Node.Js applications to Heroku and accessing live.

Copyright @ 2015 Learntek. All Rights Reserved.

15


Prerequisite: ▪ Basic working knowledge of JavaScript, Text editor – Visual Studio code/We storm/Atom and preffered one is Visual Studio .

Copyright @ 2015 Learntek. All Rights Reserved.

16


Copyright @ 2015 Learntek. All Rights Reserved.

17


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.