Master Node JS and Deno.js, build REST APIs with Node.js, explore GraphQL APIs, add authentication, use MongoDB and SQL, and learn much more with this complete course
About This Video
Get to grips with the basic as well as advanced concepts of NodeJS
Build modern, fast, and scalable server-side web applications with Node.js databases
Understand the Node.js ecosystem and build server-side rendered apps, REST APIs, and GraphQL APIs
In Detail
Node.js is …
Node.js - The Complete Guide
Video description
Master Node JS and Deno.js, build REST APIs with Node.js, explore GraphQL APIs, add authentication, use MongoDB and SQL, and learn much more with this complete course
About This Video
Get to grips with the basic as well as advanced concepts of NodeJS
Build modern, fast, and scalable server-side web applications with Node.js databases
Understand the Node.js ecosystem and build server-side rendered apps, REST APIs, and GraphQL APIs
In Detail
Node.js is one of the most popular and modern server-side programming languages and is used widely from traditional web apps with server-side rendered views over REST APIs to GraphQL APIs and real-time web services. With the high demand for Node.js developers in the job market, now is the time to develop Node.js skills. This updated video course will teach you all that you need from scratch.
The course begins with an introduction to Node.js and a quick refresher on JavaScript. You’ll then understand the improved development workflow and debugging, get to grips with Express.js, and work with dynamic content and add template engines. As you progress, you’ll work with the model view controller (MVC) to develop user interfaces and learn the dynamic route and advanced models. The course will also take you through using Node.js with SQL, NoSQL, and Mongoose and help you gain a solid understanding of implementing authentication, sending emails, error handling, validation, file uploading and downloading, and pagination. Finally, you’ll work with REST and GraphQL APIs, DenoJS, build a real-time Node.js app with WebSockets, perform automation testing, and deploy a Node.js application.
By the end of this course, you’ll have developed the Node.js skills needed to build robust, scalable, and powerful web applications.
Who this book is for
This updated course is for the beginners as well as experienced web developers looking to learn backend (server-side) development with Node.js. If you are interested in building modern, scalable, and high-performing web applications or want to explore updated features such as modern JavaScript, Typescript, GraphQL, and DenoJS, you’ll find this course useful. Basic knowledge of JavaScript is needed to get started with this course.
Configuring Multer to Adjust Filename and File Path
Filtering Files by MIME type
Storing File Data in the Database
Serving Images Statically
Downloading Files with Authentication
Setting Up File Type Headers
Restricting File Access
Streaming Data vs Preloading Data
Using PDFKit for .pdf Generation
Generating .pdf Files with Order Data
Deleting Files
Fixing Invoice Links
Wrap Up
Chapter 21 : Adding Pagination
Module Introduction
Adding Pagination Links
Retrieving a Chunk of Data
Preparing Pagination Data on the Server
Adding Dynamic Pagination Buttons
Re-using the Pagination Logic and Controls
Wrap Up
Chapter 22 : Understanding Async Requests
Module Introduction
What are Async Requests?
Adding Client Side JavaScript Code
Sending and Handling Background Requests
Manipulating the Document Object Model (DOM)
Chapter 23 : Adding Payments
Module Introduction
How Payments Work?
Adding a Checkout Page
Using Stripe in Your App
Chapter 24 : Working with REST APIs - The Basics
Module Introduction
What Are REST APIs and Why Do We Use Them?
Accessing Data with REST APIs
Understanding Routing and HTTP Methods
REST APIs - The Core Principles
Creating our REST API Project and Implementing the Route Setup
Sending Requests and Responses and Working with Postman
REST APIs, Clients, and Cross-Origin Resource Sharing (CORS) Errors
Sending POST Requests
Wrap Up
Chapter 25 : Working with REST APIs - The Practical Application
Module Introduction
REST APIs and the Rest of the Course
Understanding the Frontend Setup
Planning the API
Fetching Lists of Posts
Adding a Create Post Endpoint
Adding Server-Side Validation
Setting up a Post Model
Storing Posts in the Database
Static Images and Error Handling
Fetching a Single Post
Uploading Images
Updating Posts
Deleting Posts
Adding Pagination
Adding a User Model
Adding User Signup Validation
Signing Users up
How Does Authentication Work?
Starting with User Login
Log in and Creating JSON Web Tokens (JWTs)
Using and Validating the Token
Adding Auth Middleware to all Routes
Connecting Posts and Users
Adding Authorization Checks
Clearing Post-User Relations
Wrap Up
Chapter 26 : Understanding Async/Await in Node.js
Module Introduction
What is Async/Await all About?
Transforming “Then/Catch” to “Async/Await”
Wrap Up
Chapter 27 : Understanding WebSocket Socket.io
Module Introduction
What Are WebSocket and Why Would You Use Them?
WebSocket Solutions - An Overview
Setting up Socket.io on the Server
Establishing a Connection from the Client
Identifying Realtime Potential
Sharing the IO Instance Across Files
Synchronizing POST Additions
Fixing a Bug - The Missing Username
Updating Posts on all Connected Clients
Sorting Correctly
Deleting Posts across Clients
Wrap Up
Chapter 28 : Working with GraphQL
Module Introduction
What is GraphQL?
Understanding the Setup and Writing First Query
Defining a Mutation Schema
Adding a Mutation Resolver and GraphQL
Adding Input Validation
Handling Errors
Connecting the Frontend to the GraphQL API
Adding a Login Query and a Resolver
Adding Login Functionality
Adding a “Create Post” Mutation
Extracting User Data from the Auth Token
Sending the “Create Post” Query
Fixing a Bug and Adding New Posts Correctly
Adding a “Get Post” Query and Resolver
Sending “Create Post” and “Get Post” Queries
Adding Pagination
Uploading Images
Viewing a Single Post
Updating Posts
Deleting Posts
Managing the User Status
Using Variables
Fixing a Pagination Bug
Wrap Up
Chapter 29 : Deploying the App
Module Introduction
Deploying Different Kinds of Apps
Deployment Preparations
Using Environment Variables
Using Production API Keys
Setting Secure Response Headers with Helmet
Compressing Assets
Setting up Request Logging
Setting up a Secure Sockets Layer (SSL) Server
Using a Hosting Provider
Understanding the Project and the Git Setup
A Deployment Example with Heroku
Deploying APIs
Chapter 30 : Testing Node.js Applications
Module Introduction
What is Testing?
Testing - Why and How?
Setup and Writing the First Test
Testing the Auth Middleware
Organizing Multiple Tests
What Not to Test!
Using Stubs
Testing Controllers
Testing Asynchronous Code
Setting up a Testing Database
Testing Code with an Active Database
Cleaning Up
Hooks
Testing Code That Requires Authentication
Wrap up and Mastering Tests
Chapter 31 : Node.js as a Build Tool and Using NPM
Module Introduction
NPM and Node.js
Using NPM
What is a Build Tool?
Using Node.js in Build Processes
Chapter 32 : Modern JavaScript and Node.js
Module Introduction
What is this Module About?
Working with ECMAScript Modules (ES Modules) and Node
More on ECMAScript Modules (ES Modules)
Node Core Modules and Promises
Chapter 33 : Node.js and TypeScript
Module Introduction
TypeScript: What and Why?
TypeScript Setup
Assigning Types
Type Inference and Type Casting
Configuring TypeScript
Working with Union Types
Using Object and Array Types
Working with Type Aliases and Interfaces
Understanding Generics
A First Summary
Node and TypeScript: Setup
Getting Started with Node and TypeScript
Writing TypeScript Express.js Code
Adding REST Routes with TypeScript
Finishing the REST Routes
Testing the API
Using Type Casting
Moving to a Better Project Structure
Wrap Up
Chapter 34 : An Introduction to Deno
Module Introduction
What is Deno?
Why Deno?
Deno Setup
Writing First Deno Code
The Deno Runtime (Namespace) API
Using the Runtime API
Working with Deno Permissions
Repeating the Example with Node
How Deno Features Are Organized
Using the Standard Library
Creating a Webserver
Using the Oak Framework with Deno
An Example Node REST API
Re-building the REST API with Deno
Should You Switch from Node to Deno?
Chapter 35 : Deno, CRUD and Databases (MongoDB)
Module Introduction
App Setup
Handling CORS Errors
Connecting Deno to MongoDB
Using the MongoDB Client Module
Finishing the Deno MongoDB CRUD Operations
Wrap Up
Chapter 36 : Roundup
Course Roundup
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept