NodeJS, MongoDB, and Express - Beginner to Intermediate JavaScript

Video description

Excel in NodeJS, MongoDB, and Express, and improve your JavaScript skills.

About This Video

  • Set up MongoDB in the cloud to connect using NodeJS
  • Learn how you can create your own module locally
  • Learn how to send data from a front-end form to Node Express to output to the terminal

In Detail

This course is split into 7 sections; section 1 is a fast-paced quick introduction to NodeJS and how you start using NodeJS. We discuss what NodeJS is and that it is not a programming language like JavaScript but an interpreter and environment for JavaScript.

Moving further with section 2, we explore the fundamentals of JavaScript and writing JavaScript code within the Node. It is loaded with examples about the basics of coding JavaScript . As Node uses JavaScript code, this section will provide a refresher and quick overview of JavaScript, and is designed to cover core JavaScript required for the upcoming sections and writing Node.

JavaScript asynchronous programming explains asynchrony in computer programming, refers to the occurrence of events independent of the main program flow and ways to deal with such events, and shows how to add callbacks that run once a stack is complete.

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

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 set up a web application quickly with Express.

Who this book is for

To take this course, you will need to have some knowledge of Object-Oriented Programming, if not C#. Even if you do not have much exposure to the .NET development stack, this course is very beginner-friendly and chock-full of development tips.

This course is ideal for anyone who wants to learn more about NodeJS, and for JavaScript developers and web developers.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Introduction to NodeJS MongoDB Express Beginner to Intermediate JavaScript
    1. Introduction to NodeJS MongoDB Express Beginner to Intermediate JavaScript
  2. Chapter 2 : Introduction to Installation and Setup of Node
    1. Section Introduction to Installation and Setup of Node
    2. What is Node Setup Dev Environment
    3. Visual Studio Code Terminal Ready
    4. Create a Node File and Run It
    5. What is Node and How it Works
    6. NodeJS Resources
    7. Working with NodeJS
    8. NodeJS REPL
    9. Common Node Examples
    10. Node Process Object
    11. Use Node Packages - NodeMon
    12. Command Line and Console
  3. Chapter 3 : JavaScript Fundamentals: Quick Review of JavaScript Coding
    1. JavaScript Fundamentals: Quick Review of JavaScript Coding
    2. Variables and Data Types
    3. JavaScript Variables and Data Types
    4. Arrays, Objects, Data Types
    5. Introduction to JavaScript Functions
    6. JavaScript Functions and Advanced Features
    7. More Functions: Modern Functions Examples
    8. JavaScript Closure Example
    9. JavaScript Operators
    10. More JavaScript Operators Examples
    11. Conditions Truthy and Falsey
    12. Ternary Operator
    13. JavaScript Switch Statement
    14. JavaScript Loop For Do While
    15. JavaScript Objects
    16. JavaScript Object Methods
    17. JavaScript Array Introduction
    18. JavaScript Update Array
    19. JavaScript Delete and Add to an Array
    20. Common JavaScript Array Methods
    21. More JavaScript Array Methods
    22. Array Method Update Array
    23. JavaScript Empty Array Map Method
    24. Array Iteration and Object Values
    25. JavaScript Template Literals
    26. JavaScript Math Method
    27. JavaScript Date Method
    28. JavaScript Asynchronous Callback Examples
    29. JavaScript Node Timers Global
    30. JavaScript Promises
    31. JavaScript Try and Catch Debugging
    32. JavaScript Async and Await
  4. Chapter 4 : JavaScript Asynchronous programming
    1. JavaScript Asynchronous programming
    2. Callbacks Stack and Queue
    3. Stack and Queue Examples
    4. Callback example in JavaScript
    5. Calls Event Loops Job Function
    6. Event Loop Example Recursive Function
    7. Job Queue Event Loop Function Execution
    8. Call Stack Output Order Examples
    9. JavaScript Promises
    10. Node Process Object Terminal Input Output
    11. Node Event EventEmitter
    12. Set Up Node Events
  5. Chapter 5 : Node Modules NPM
    1. Node Modules NPM
    2. Node Modules
    3. Node Modules Types
    4. Local Node Modules
    5. Local Node Modules Exports Class
    6. Core Modules HTTP Web Server Setup
    7. Make a Folder Filesystem
    8. Node Filesystem Examples
    9. Update the Contents of a File
    10. Delete Files Using the Filesystem
    11. Rename Files Using Node
    12. Filesystem Stats
    13. Reading Files FS Module
    14. File and Folder Paths
    15. Node Package Package.json Fetch
    16. Node Package Manager Module
    17. Node Buffers
    18. Errors Throw Try and Catch
  6. Chapter 6 : Node Web Application with Express
    1. Node Web Application with Express
    2. Express Setup
    3. Serving Files with Express Framework
    4. Express Routing
    5. Multiple CallBack Functions
    6. Express Route Handler GET
    7. Express Route POST
    8. Express Route Update Delete
    9. JSON Data POST Values
    10. Output JSON URL Params
    11. MiddleWare POST with bodyParser
    12. Express Routes Router
    13. Express Application Generator
  7. Chapter 7 : MongoDB with Front-End Web Page Interaction Using Node and Express
    1. MongoDB with Front-End Web Page Interaction Using Node and Express
    2. Setup: Get Started with MongoDB
    3. Create MongoDB in the Cloud
    4. Connect and Create MongoDB
    5. Create Collection of Data
    6. WebPage App to Database Setup
    7. WebPage AJAX to Endpoint
    8. AJAX Post Setup to Database
    9. AJAX GET Mongo Data
    10. Dynamic Page Elements AJAX
    11. Find Matches from MongoDB Get
    12. Update MongoDB Data
    13. Delete Remove Data from MongoDB with AJAX
    14. More with MongoDB Documents and Coding

Product information

  • Title: NodeJS, MongoDB, and Express - Beginner to Intermediate JavaScript
  • Author(s): Laurence Svekis
  • Release date: August 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781803245232