Curated Video
Modern JavaScript from the Beginning - Second Edition - Fullstack Workflow
In this video, we will go over the full-stack workflow and what we need to do in order to build a complete app with a backend and frontend. This clip is from the chapter "RandomIdeas Project - Webpack Frontend (Bonus Project)" of the...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Database Queries
In this video, we will write database queries using Mongoose to retrieve ideas from the database based on various criteria. You will also learn about the different query methods available in Mongoose, such as findOne, find, and findById....
Curated Video
Modern JavaScript from the Beginning - Second Edition - Mongoose Schema and Model
In this video, we will define a Mongoose schema for our ideas collection, which will specify the fields and their data types. We will also create a Mongoose model based on the schema, which will allow us to perform database queries. This...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Mongoose Connect and Dotenv
In this video, we will use the Mongoose library to connect to our MongoDB database. We will also use the dotenv library to manage our environment variables, such as the database connection string. This clip is from the chapter...
Curated Video
Modern JavaScript from the Beginning - Second Edition - MongoDB Atlas Setup
In this video, we will set up a MongoDB Atlas account, which will provide us with a free cloud-based MongoDB database. We will also create a new database and user and configure our project to connect to the database. This clip is from...
Curated Video
Modern JavaScript from the Beginning - Second Edition - What Is MongoDB?
In this video, we will introduce MongoDB, a popular NoSQL database used in many web applications. We will discuss the differences between SQL and NoSQL databases, and the advantages of using MongoDB. This clip is from the chapter...
Curated Video
Modern JavaScript from the Beginning - Second Edition - PUT and DELETE Requests - Update and Remove Ideas
In this video, we will handle PUT and DELETE requests to update and remove existing ideas from the database. We will use Mongoose to find and update or remove the idea and return an appropriate response to the client. This clip is from...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Handle POST Requests - Add Idea
In this video, we will handle POST requests to add a new idea to our database. We will use Mongoose to create a new idea and save it to the database, and also include validation to ensure that the required fields are present. This clip...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Nodemon and Route Clean-Up
In this video, we will use Nodemon to automatically restart our server whenever changes are made, making development more efficient. We will also clean up our code by moving our route handlers into separate modules. This clip is from the...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Express Setup and Basic API
In this video, we will set up our project using Express and create a basic API with GET and POST routes. We will also use middleware to parse incoming JSON data and handle errors. This clip is from the chapter "RandomIdeas Project -...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Section Introduction-2
In this section, we will work on a bonus project called RandomIdeas, which will involve building a RESTful API using Node.js, Express, and MongoDB. The project will allow users to create and store random ideas, as well as update and...
Curated Video
Modern JavaScript from the Beginning - Second Edition - http Module
The http module provides a way to create HTTP servers and clients in Node.js. In this video, we will explore how to create an HTTP server using the http module and how to handle HTTP requests and responses. We will also cover how to...
Curated Video
Modern JavaScript from the Beginning - Second Edition - url and querystring Modules
The url and querystring modules provide methods for working with URLs and query strings. In this video, we will explore the different methods available in these modules and how to use them to parse and manipulate URLs and query strings...
Curated Video
Modern JavaScript from the Beginning - Second Edition - os Module
The os module provides methods for working with the operating system. In this video, we will explore the different methods available in the os module and how to use them to retrieve information about the operating system and the computer...
Curated Video
Modern JavaScript from the Beginning - Second Edition - path Module
The path module provides methods for working with file paths and directories. In this video, we will explore the different methods available in the path module and how to use them to manipulate file paths in our Node.js applications....
Curated Video
Modern JavaScript from the Beginning - Second Edition - fs (filesystem) Module
The filesystem (fs) module is one of the most commonly used modules in Node.js. In this video, we will explore the various methods available in the fs module and how to use them to read, write, and manipulate files and directories. This...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Section Intro
In this bonus module, we will explore the Node.js modules that allow us to perform various tasks in our Node.js applications. We will cover the different modules available in Node.js and how to use them effectively to build robust and...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Has Duplicate IDs - jsdom
In this video, we will write a unit test for a function that checks whether a webpage has any duplicate IDs. We will use jsdom to simulate a webpage and test our function. This clip is from the chapter "Unit Testing Algorithms" of the...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Get Elements by Tag - jsdom
In this video, we will write a unit test for a function that gets all elements with a particular tag name in a web page. We will use jsdom, a JavaScript implementation of the DOM, to simulate a web page and test our function. This clip...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Anagram Algorithm
In this video, we will write a unit test for an anagram checking algorithm. We will use Jest to test our algorithm and ensure that it correctly identifies anagrams. This clip is from the chapter "Unit Testing Algorithms" of the series...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Array Chunking
In this video, we will write a unit test for an array chunking algorithm. We will use Jest to test our algorithm and ensure that it correctly splits an array into smaller chunks. This clip is from the chapter "Unit Testing Algorithms" of...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Palindrome Algorithm
In this video, we will write a unit test for a palindrome checking algorithm. We will use Jest to test our algorithm and ensure that it correctly identifies palindromes. This clip is from the chapter "Unit Testing Algorithms" of the...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Reverse String Algorithm
In this video, we will write a unit test for a simple string reversal algorithm. We will use Jest to test our algorithm and make sure it works correctly. This clip is from the chapter "Unit Testing Algorithms" of the series "Modern...
Curated Video
Modern JavaScript from the Beginning - Second Edition - Grouping Tests Together
In this video, you will learn how to group tests together using Jest. We will organize our tests into test suites and describe blocks, making our test code more readable and easier to maintain. This clip is from the chapter "Unit Testing...