Video description
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.
What You Will Learn
- Build apps with NodeJS, Express, MongoDB
- Apply JavaScript NodeJS to create applications
- Create command-line apps
- Install and set up NodeJS
- Connect to MongoDB with Node
- Learn the fundamentals of JavaScript
Audience
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.
About The Author
Laurence Lars Svekis: Laurence Svekis is an experienced web application developer. He has worked on multiple enterprise-level applications, hundreds of websites, business solutions, and many unique and innovative web applications. He has expertise in HTML, CSS, JavaScript, jQuery, Bootstrap, PHP, and MySQL and is also passionate about web technologies, web application development, programming, and online marketing with a strong focus on social media and SEO. He is always willing to help his students experience what technology has to offer and looks forward to sharing his knowledge and experiences with the world.
Table of contents
- Chapter 1 : Introduction to NodeJS MongoDB Express Beginner to Intermediate JavaScript
-
Chapter 2 : Introduction to Installation and Setup of Node
- Section Introduction to Installation and Setup of Node
- What is Node Setup Dev Environment
- Visual Studio Code Terminal Ready
- Create a Node File and Run It
- What is Node and How it Works
- NodeJS Resources
- Working with NodeJS
- NodeJS REPL
- Common Node Examples
- Node Process Object
- Use Node Packages - NodeMon
- Command Line and Console
-
Chapter 3 : JavaScript Fundamentals: Quick Review of JavaScript Coding
- JavaScript Fundamentals: Quick Review of JavaScript Coding
- Variables and Data Types
- JavaScript Variables and Data Types
- Arrays, Objects, Data Types
- Introduction to JavaScript Functions
- JavaScript Functions and Advanced Features
- More Functions: Modern Functions Examples
- JavaScript Closure Example
- JavaScript Operators
- More JavaScript Operators Examples
- Conditions Truthy and Falsey
- Ternary Operator
- JavaScript Switch Statement
- JavaScript Loop For Do While
- JavaScript Objects
- JavaScript Object Methods
- JavaScript Array Introduction
- JavaScript Update Array
- JavaScript Delete and Add to an Array
- Common JavaScript Array Methods
- More JavaScript Array Methods
- Array Method Update Array
- JavaScript Empty Array Map Method
- Array Iteration and Object Values
- JavaScript Template Literals
- JavaScript Math Method
- JavaScript Date Method
- JavaScript Asynchronous Callback Examples
- JavaScript Node Timers Global
- JavaScript Promises
- JavaScript Try and Catch Debugging
- JavaScript Async and Await
-
Chapter 4 : JavaScript Asynchronous programming
- JavaScript Asynchronous programming
- Callbacks Stack and Queue
- Stack and Queue Examples
- Callback example in JavaScript
- Calls Event Loops Job Function
- Event Loop Example Recursive Function
- Job Queue Event Loop Function Execution
- Call Stack Output Order Examples
- JavaScript Promises
- Node Process Object Terminal Input Output
- Node Event EventEmitter
- Set Up Node Events
-
Chapter 5 : Node Modules NPM
- Node Modules NPM
- Node Modules
- Node Modules Types
- Local Node Modules
- Local Node Modules Exports Class
- Core Modules HTTP Web Server Setup
- Make a Folder Filesystem
- Node Filesystem Examples
- Update the Contents of a File
- Delete Files Using the Filesystem
- Rename Files Using Node
- Filesystem Stats
- Reading Files FS Module
- File and Folder Paths
- Node Package Package.json Fetch
- Node Package Manager Module
- Node Buffers
- Errors Throw Try and Catch
-
Chapter 6 : Node Web Application with Express
- Node Web Application with Express
- Express Setup
- Serving Files with Express Framework
- Express Routing
- Multiple CallBack Functions
- Express Route Handler GET
- Express Route POST
- Express Route Update Delete
- JSON Data POST Values
- Output JSON URL Params
- MiddleWare POST with bodyParser
- Express Routes Router
- Express Application Generator
-
Chapter 7 : MongoDB with Front-End Web Page Interaction Using Node and Express
- MongoDB with Front-End Web Page Interaction Using Node and Express
- Setup: Get Started with MongoDB
- Create MongoDB in the Cloud
- Connect and Create MongoDB
- Create Collection of Data
- WebPage App to Database Setup
- WebPage AJAX to Endpoint
- AJAX Post Setup to Database
- AJAX GET Mongo Data
- Dynamic Page Elements AJAX
- Find Matches from MongoDB Get
- Update MongoDB Data
- Delete Remove Data from MongoDB with AJAX
- More with MongoDB Documents and Coding
Product information
- Title: NodeJS, MongoDB, and Express - Beginner to Intermediate JavaScript
- Author(s):
- Release date: August 2021
- Publisher(s): Packt Publishing
- ISBN: 9781803245232
You might also like
video
Learning Node.js
Learning Node.js LiveLessons provides developers with a practical introduction to Node.js, an exciting new platform for …
book
Get Programming with Node.js
Get Programming with Node.js Get Programming with Node.js teaches you to write server-side code in JavaScript …
book
Your First Week With Node.js, 2nd Edition
While there have been quite a few attempts to get JavaScript working as a server-side language, …
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …