Skip to content
Play overlay
Preview this course

NodeJS Beginner to Intermediate JavaScript

NodeJS Express MongoDB connected together to update database content from Frontend Web Application using JavaScript


Discoveryvip

Summary

Price
£59.99 inc VAT
Or £20.00/mo. for 3 months...
Study method
Online, On Demand What's this?
Duration
14.7 hours · Self-paced
Qualification
No formal qualification
Certificates
  • Reed courses certificate of completion - Free

Overview

NodeJS is built for performance. NodeJS allows you to build complex and powerful application quickly and easily writing JavaScript code. NodeJS allows you to use JavaScript for not only web applications with the flexibility for a wide range of different purposes. Node brings JavaScript to the server, using Googles V8 engine.

Top Reasons for using Node.JS

  • In Demand Skillset - used by popular and large businesses

  • NodeJS is written in JavaScript which makes the transition to Node take less time if you are already familiar with JavaScript.

  • Perfect solution for a full stack developer dealing with backend and databases

  • JavaScript is easy to start with a write code and run code within your own computer

  • Easily to develop locally

  • Open Source with an active community and support

  • Node Package Manager can allow you to create complex applications using existing modules, NPM has a massive number of packages.

  • Node is well supported, large size community and many forms and groups to share code and get help

  • Can be used to build micro services

Curriculum

7
sections
104
lectures
14h 42m
total
    • 3: Introduction to Installing and Setup of Node 01:33
    • 4: What is Node Introduction 11:28
    • 5: Visual Studio Code Terminal 05:17
    • 6: Create a Node file and Run it 04:21
    • 7: How Node Works V8 Engine 09:59
    • 8: Node Resources 10:21
    • 9: Working with Node JS 06:04
    • 10: Node JS REPL 05:02
    • 11: Use Node Packages NodeMon 07:42
    • 12: Command Line Node 09:28
    • 13: v8 Common Node Examples 15:33
    • 14: v9 Node Process Object 09:23
    • 15: JavaScript Fundamentals quick review of JavaScript Coding 01:28
    • 16: Variables and Comments 10:51
    • 17: JavaScript Data Types 06:53
    • 18: Objects Arrays Variables 06:07
    • 19: JavaScript Functions 13:42
    • 20: JavaScript Functions Closures 06:44
    • 21: JavaScript Operators 09:21
    • 22: Javascript More Operators Examples 07:42
    • 23: Conditions Truthy and Falsey 09:56
    • 24: Ternary Operator 08:35
    • 25: Switch statement JavaScript 05:23
    • 26: Loops JavaScript For Do While 06:52
    • 27: JavaScript Objects 14:11
    • 28: JavaScript Object Methodsj 06:26
    • 29: JavaScript Array 08:57
    • 30: JavaScript Update Array 09:53
    • 31: Common JavaScript Array Methods 07:57
    • 32: Common Array Methods 03:45
    • 33: Empty Array Map Method 05:09
    • 34: Objects and Array iteration 09:51
    • 35: Template literals JavaScript 05:55
    • 36: JavaScript Math Method 06:50
    • 37: JavaScript Date Method 08:27
    • 38: Asynchronous JavaScript 10:45
    • 39: Node Global Timers 11:09
    • 40: JavaScript Promises 09:19
    • 41: Try and Catch Debugging 06:29
    • 42: JavaScript Async Await 10:07
    • 43: v5-1 Javascript Functions Advanced Features 08:31
    • 44: v5-2 Modern Function Examples 09:04
    • 45: v17 Array Update 07:36
    • 46: w20 Array Method Update Arrays 03:21
    • 47: JavaScript Asynchronous programming 01:27
    • 48: Asynchronous programming overview 10:50
    • 49: Stack and Queue Examples 09:06
    • 50: JavaScript Callbacks 05:29
    • 51: Event Loop Example Recursive Function 05:26
    • 52: JavaScript Promises 07:22
    • 53: Node Process Object Terminal Input Output 08:00
    • 54: Node Event EventEmitter 08:10
    • 55: Setup Node Events 09:09
    • 56: z4 Calls Event Loops Job Function 09:59
    • 57: z6-1 Job Queue Event Loop Function Execution 12:09
    • 58: z6-2 Call Stack Output Order Examples 05:52
    • 59: Node Modules 02:20
    • 60: Node Modules Introduction 03:49
    • 61: Node Modules Types 11:43
    • 62: Local Modules 11:38
    • 63: Node Module Exports Class 07:16
    • 64: PreBuilt Modules Node 15:27
    • 65: Make a Folder File System 10:02
    • 66: Update the contents of a file 05:33
    • 67: Delete files using the file system 04:35
    • 68: Rename files using Node 05:48
    • 69: File System Stats 12:50
    • 70: File System Read Files (1) 06:59
    • 71: File System Read Files 06:59
    • 72: File and Folder Paths 04:43
    • 73: Node Package Manager NPM 16:05
    • 74: Package JSON NPM 14:43
    • 75: Node Buffers 05:21
    • 76: Errors Throw try and Catch 04:31
    • 77: v7 Node File System Examples 09:09
    • 78: Node Web Application with Express 01:59
    • 79: Introduction to Node Express 09:25
    • 80: Files with Express Package 08:49
    • 81: Routing with Express 11:01
    • 82: Multiple CallBack Functions 03:58
    • 83: Express Route Handler GET 09:15
    • 84: Express Route POST 05:59
    • 85: Express Route Update Delete 12:08
    • 86: JSON data POST values 14:03
    • 87: Output JSON URL Params 06:53
    • 88: Middleware BodyParser 06:03
    • 89: Express routes 06:49
    • 90: Express application generator 04:50
    • 91: MongoDB with Frontend web page interaction using Node and Express 02:03
    • 92: Setup Get Started with MongoDB 11:28
    • 93: Create MongoDB in the Cloud 05:04
    • 94: Connect and Create MongoDB 07:25
    • 95: Create Collection mongoDB 06:21
    • 96: WebPage App to Database 13:42
    • 97: WebPage AJAX to Endpoint 06:46
    • 98: AJAX Post setup to Database 04:48
    • 99: Ajax get Mongo Data 13:30
    • 100: Dynamic Page Elements AJAX 04:11
    • 101: Find matches from MongoDB 08:11
    • 102: Update MongoDB Data 12:15
    • 103: Delete remove data from mongoDB with AJAX 09:16
    • 104: More with MongoDB resources 08:14

Course media

Description

#1 Introduction to Installing and Setup of Node

This section is a fast paced quick intro to NodeJS, and how you start using NodeJS. We discuss what NodeJS is and that it is not a programming language like JavaScript is but an interpreter and Environment for JavaScript.

Node is a lightweight framework developed on Chrome’s V8 engine that can be used for largeScale application development. It's scalable because the server can respond in a non-blocking way.

Process object which is a global that provides information, and control over, the current Node.js process. Because its global it is always available to Node.js applications without using require()

npm registry contains packages, many of which are also Node modules, or contain Node module

#2 JavaScript Fundamentals quick review of JavaScript Coding

Explore the fundamentals of JavaScript and writing JavaScript code within the Node. Loaded with examples about the basics of coding JavaScript. Back to the basics of JavaScript code . Because node uses JavaScript code this section will provide a refresher and quick overview of JavaScript. Designed to cover the core JavaScript required for the upcoming sections and writing Node.

#3 JavaScript Asynchronous programming

Asynchrony, in computer programming, refers to the occurrence of events independent of the main program flow and ways to deal with such events. How to add callbacks that run once a stack is complete.

Covering Input Output which accesses anything outside the application. Once the application is started it will be loaded into the machine memory.

Coding Examples, and practice code outputting into the console when ready

Event Driven programming which makes Node.js fairly fast compared to other similar technologies. Once the application starts it initiates its variables, declares its functions and then waits for the event to occur.

The two types of API functions in Node.js, Asynchronous, non-blocking functions and Synchronous, blocking functions.

The differences difference between blocking and non-blocking calls in Node.js.

Blocking occurs when the execution of additional JavaScript in the Node.js process must wait until a non-JavaScript operation completes. The event loop is unable to continue running JavaScript while a blocking operation is occurring. All the IO methods in node.js provide asynchronous versions, which are non-blocking.

Node keeps an event loop, which monitors when a task gets completed, which would then fire the corresponding events. Node.js overcomes the problem of blocking of I/O operations by using the event loop instead of threads.

Recursive functions, Function that calls itself is called a recursive function - must have a condition to break the loop.

The EventEmitter module makes possible the communication and interaction between objects in Node. EventEmitter provides properties like on and emit. The on property is used to bind a function with the event and emit property is used to fire an event.

#4 Node Modules

Each module in NodeJS has its own context and cannot interfere with other modules. Modules are like libraries that you can include into your application. Node.js has a set of built-in modules which you can use without any further installation like http, fs, path, and url.

You can create your own modules, and easily include them in your applications. Save them locally and use within your node application as needed. Perfect to separate functionality for your application. To make properties and methods available outside the module file use the keyword exports.

NPM hosts thousands of third party modules, free packages to download and use. A package in Node.js contains all the files you need for a module.

Debugging - The try...catch statement marks a block of statements to try and specifies a response should an exception be thrown.

#5 Node Web Application with Express

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. Explore how to setup a web application quickly with Express.

The arguments which are available to an Express JS route handler function are request (request Object), response (response Object) and optional Next which can pass control to one of the subsequent route handlers.

#6 MongoDB with Frontend web page interaction using Node and Express

The official MongoDB Node. js driver allows Node. js applications to connect to MongoDB and work with data. The driver features an asynchronous API which allows you to access method return values through Promises or specify callbacks to access them when communicating with MongoDB.

Final Project in Section #6

Creating a fully functional node application, that uses Express to run a web application. Connect to a MongoDB and using Node allow the frontend web application to access the Database items, full CRUD interaction.

  1. Create a web application using Express - output html file from public folder

  2. Setup a MongoDB in the cloud prep to connect using NodeJS

  3. Create and test insert into the database

  4. Setup Frontend web application

  5. Add DOM event listeners to trigger requests

  6. Generate visual response as HTML from the Node response object

  7. Update and create interactive list of database content CRUD

  8. Add HTML updates to send requests to database.

Create (POST)

Read (GET)

Update (PUT)

Delete (DELETE)

Who is this course for?

  • Anyone who wants to learn more about NodeJS
  • JavaScript Developers
  • Web Developers

Requirements

  • Web development experience

  • Prior Coding experience

  • Access to a computer with Admin permissions

  • Use of a code editor

Questions and answers

Currently there are no Q&As for this course. Be the first to ask a question.

Certificates

Reed courses certificate of completion

Digital certificate - Included

Will be downloadable when all lectures have been completed

Reviews

Currently there are no reviews for this course. Be the first to leave a review.

FAQs

Study method describes the format in which the course will be delivered. At Reed Courses, courses are delivered in a number of ways, including online courses, where the course content can be accessed online remotely, and classroom courses, where courses are delivered in person at a classroom venue.

CPD stands for Continuing Professional Development. If you work in certain professions or for certain companies, your employer may require you to complete a number of CPD hours or points, per year. You can find a range of CPD courses on Reed Courses, many of which can be completed online.

A regulated qualification is delivered by a learning institution which is regulated by a government body. In England, the government body which regulates courses is Ofqual. Ofqual regulated qualifications sit on the Regulated Qualifications Framework (RQF), which can help students understand how different qualifications in different fields compare to each other. The framework also helps students to understand what qualifications they need to progress towards a higher learning goal, such as a university degree or equivalent higher education award.

An endorsed course is a skills based course which has been checked over and approved by an independent awarding body. Endorsed courses are not regulated so do not result in a qualification - however, the student can usually purchase a certificate showing the awarding body's logo if they wish. Certain awarding bodies - such as Quality Licence Scheme and TQUK - have developed endorsement schemes as a way to help students select the best skills based courses for them.