Media is too big
VIEW IN TELEGRAM
3. Non-Blocking I/O
Scott explains the non-blocking I/O model employed by Node.js to handle concurrent connections in high-performance network applications. Key features, such as event loops, callbacks, non-blocking APIs, and its single-threaded nature, contribute to its efficiency.
- https://scottmoss.notion.site/Non-blocking-I-O-73e9169fe771463c97deebfe34433fb9?pvs=25
#lesson
Scott explains the non-blocking I/O model employed by Node.js to handle concurrent connections in high-performance network applications. Key features, such as event loops, callbacks, non-blocking APIs, and its single-threaded nature, contribute to its efficiency.
- https://scottmoss.notion.site/Non-blocking-I-O-73e9169fe771463c97deebfe34433fb9?pvs=25
#lesson
Media is too big
VIEW IN TELEGRAM
4. Hello World
Scott walks through the setup of Node.js and a version manager called nvm. The segment includes creating a simple Node.js program that prints to the terminal.
- https://scottmoss.notion.site/Hello-World-f65c00665b4f4a5fa90c95cbb808b2a6
#lesson
Scott walks through the setup of Node.js and a version manager called nvm. The segment includes creating a simple Node.js program that prints to the terminal.
- https://scottmoss.notion.site/Hello-World-f65c00665b4f4a5fa90c95cbb808b2a6
#lesson
Media is too big
VIEW IN TELEGRAM
5. Browser vs Node.js
Scott explains the distinctions between how JavaScript is handled in the browser and Node.js, offering an overview of the Node.js REPL. The segment covers differences in the global object, modules, DOM, and console.
- https://scottmoss.notion.site/Browser-vs-Node-js-d977e7001a694ba59c879d92bddea239
#lesson
Scott explains the distinctions between how JavaScript is handled in the browser and Node.js, offering an overview of the Node.js REPL. The segment covers differences in the global object, modules, DOM, and console.
- https://scottmoss.notion.site/Browser-vs-Node-js-d977e7001a694ba59c879d92bddea239
#lesson
Media is too big
VIEW IN TELEGRAM
6. Process & Environment
Scott explains the global process object, highlighting commonly used properties and methods attached to it. The segment also covers using process.env to access environment variables.
- https://scottmoss.notion.site/Process-and-Environment-cc21ec35b08e428b9f78323cd07a31b1
#lesson
Scott explains the global process object, highlighting commonly used properties and methods attached to it. The segment also covers using process.env to access environment variables.
- https://scottmoss.notion.site/Process-and-Environment-cc21ec35b08e428b9f78323cd07a31b1
#lesson
Media is too big
VIEW IN TELEGRAM
7. Custom CLI Setup
Scott explains command-line interfaces, demonstrates creating a Node.js project using npm, and covers the contents of the generated package.json file. The segment also includes linking to the file and defining the script's environment with a hashbang.
- https://scottmoss.notion.site/What-is-a-CLI-7c153251b323484cb6787fec7d743e19
#lesson
Scott explains command-line interfaces, demonstrates creating a Node.js project using npm, and covers the contents of the generated package.json file. The segment also includes linking to the file and defining the script's environment with a hashbang.
- https://scottmoss.notion.site/What-is-a-CLI-7c153251b323484cb6787fec7d743e19
#lesson
Media is too big
VIEW IN TELEGRAM
8. Processing CLI Arguments
Scott walks through the process of building out the logic for a custom note-taking CLI, enabling it to accept input from the terminal as a new note.
#lesson
Scott walks through the process of building out the logic for a custom note-taking CLI, enabling it to accept input from the terminal as a new note.
#lesson
Media is too big
VIEW IN TELEGRAM
9. Modules Overview
Scott discusses Node.js modules, which are self-contained pieces of code designed to perform specific tasks. Node.js has three types of modules: internal, user-created, and third-party modules.
- https://scottmoss.notion.site/What-is-a-module-23b1cef5a2044311bb01e55d81325e79
#lesson
Scott discusses Node.js modules, which are self-contained pieces of code designed to perform specific tasks. Node.js has three types of modules: internal, user-created, and third-party modules.
- https://scottmoss.notion.site/What-is-a-module-23b1cef5a2044311bb01e55d81325e79
#lesson
Media is too big
VIEW IN TELEGRAM
10. Importing & Exporting Modules
Scott demonstrates how to import both internal and external modules in Node.js. The differences between using `require` and `import` for including external modules are also explained in this segment.
#lesson
Scott demonstrates how to import both internal and external modules in Node.js. The differences between using `require` and `import` for including external modules are also explained in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
11. Thinking in Modules
Scott discusses things to keep in mind when developing modules for Node.js apps. This segment covers topics such as module contents, export and import patterns, and index.js patterns.
- https://scottmoss.notion.site/Thinking-in-modules-163d2cd233ae4954b67ac7458448b9c4
#lesson
Scott discusses things to keep in mind when developing modules for Node.js apps. This segment covers topics such as module contents, export and import patterns, and index.js patterns.
- https://scottmoss.notion.site/Thinking-in-modules-163d2cd233ae4954b67ac7458448b9c4
#lesson
Media is too big
VIEW IN TELEGRAM
12. Internal & 3rd-Party Modules
Scott discusses built-in modules that are available within the Node.js environment. Installing, updating, and removing third-party modules using npm is also covered in this segment.
- https://scottmoss.notion.site/Internal-Modules-9b247ef103c8482fb01370cc5ddc122c
#lesson
Scott discusses built-in modules that are available within the Node.js environment. Installing, updating, and removing third-party modules using npm is also covered in this segment.
- https://scottmoss.notion.site/Internal-Modules-9b247ef103c8482fb01370cc5ddc122c
#lesson
Media is too big
VIEW IN TELEGRAM
13. Using the yargs Module
Scott demonstrates the installation and usage of the third-party yargs module to implement a help command for the custom note-taking CLI.
- https://scottmoss.notion.site/Using-yargs-0727dfad1fa647848984e317d40d4cbd
#lesson
Scott demonstrates the installation and usage of the third-party yargs module to implement a help command for the custom note-taking CLI.
- https://scottmoss.notion.site/Using-yargs-0727dfad1fa647848984e317d40d4cbd
#lesson
Media is too big
VIEW IN TELEGRAM
14. Notes App Commands
Scott sets up the foundation for CLI commands such as new, all, find, remove, web, and clean.
#lesson
Scott sets up the foundation for CLI commands such as new, all, find, remove, web, and clean.
#lesson
Media is too big
VIEW IN TELEGRAM
15. Async Code
Scott explains the benefits of asynchronous code, which allows other operations to occur while waiting for a task to complete. A demonstration of how to avoid nested callbacks using promises is also covered in this segment.
- https://scottmoss.notion.site/Async-in-node-2c38517eefad481bae186fcef86d0fd7
#lesson
Scott explains the benefits of asynchronous code, which allows other operations to occur while waiting for a task to complete. A demonstration of how to avoid nested callbacks using promises is also covered in this segment.
- https://scottmoss.notion.site/Async-in-node-2c38517eefad481bae186fcef86d0fd7
#lesson
Media is too big
VIEW IN TELEGRAM
16. FS Module
Scott demonstrates how to use the built-in FS module, which provides an API for interacting with the file system. Student questions regarding debugging errors involving nesting callbacks are also covered in this segment.
- https://scottmoss.notion.site/The-FS-module-c7a30776364b4cfe86a13b1a99a8620c
#lesson
Scott demonstrates how to use the built-in FS module, which provides an API for interacting with the file system. Student questions regarding debugging errors involving nesting callbacks are also covered in this segment.
- https://scottmoss.notion.site/The-FS-module-c7a30776364b4cfe86a13b1a99a8620c
#lesson
Media is too big
VIEW IN TELEGRAM
17. Using a File as a DB
Scott demonstrates how to use the FS module and a JSON file as a database to store created notes. The foundation for utility functions to read the db.json file, save a JavaScript object, and add a new note are also covered in this segment.
- https://scottmoss.notion.site/Using-a-file-as-a-DB-ec9ab894284242fba4efc76b75bc47b9
#lesson
Scott demonstrates how to use the FS module and a JSON file as a database to store created notes. The foundation for utility functions to read the db.json file, save a JavaScript object, and add a new note are also covered in this segment.
- https://scottmoss.notion.site/Using-a-file-as-a-DB-ec9ab894284242fba4efc76b75bc47b9
#lesson
Media is too big
VIEW IN TELEGRAM
18. CRUD Methods: Create
Scott explains CRUD operations, which involve create, read, update, and delete actions on the notes in the database. Abstracting the previously created insert utility function for creating new notes and a student's question about destructuring are also covered in this segment.
- https://scottmoss.notion.site/Note-CRUD-54f302644e294d6992ba747ef1c5bf96
#lesson
Scott explains CRUD operations, which involve create, read, update, and delete actions on the notes in the database. Abstracting the previously created insert utility function for creating new notes and a student's question about destructuring are also covered in this segment.
- https://scottmoss.notion.site/Note-CRUD-54f302644e294d6992ba747ef1c5bf96
#lesson
Media is too big
VIEW IN TELEGRAM
19. CRUD Methods: Read & Delete
Scott develops a function to fetch all notes from the database and filters them based on the provided filter string. A demonstration of the process of removing notes with specific IDs and clearing all notes from the database in this segment is also provided in this segment.
#lesson
Scott develops a function to fetch all notes from the database and filters them based on the provided filter string. A demonstration of the process of removing notes with specific IDs and clearing all notes from the database in this segment is also provided in this segment.
#lesson
Media is too big
VIEW IN TELEGRAM
20. Using the CRUD Methods
Scott updates the commands to utilize the previously created CRUD methods, allowing for better functionality and interaction with the notes in the database.
- https://scottmoss.notion.site/Updating-commands-b537c0b8c72a490997f442669a45d6e0
#lesson
Scott updates the commands to utilize the previously created CRUD methods, allowing for better functionality and interaction with the notes in the database.
- https://scottmoss.notion.site/Updating-commands-b537c0b8c72a490997f442669a45d6e0
#lesson
Media is too big
VIEW IN TELEGRAM
21. Types of Tests
Scott discusses the different types of testing in a Node.js application, which include unit testing, integration testing, end-to-end testing, and API testing.
- https://scottmoss.notion.site/Types-of-test-992f08c99fdc4f10ac75b7cdc66b95d8
#lesson
Scott discusses the different types of testing in a Node.js application, which include unit testing, integration testing, end-to-end testing, and API testing.
- https://scottmoss.notion.site/Types-of-test-992f08c99fdc4f10ac75b7cdc66b95d8
#lesson
Media is too big
VIEW IN TELEGRAM
22. Unit Testing with Jest
Scott demonstrates writing and running tests using the Jest testing framework. Jest automatically scans for test files in the tests directory and executes them.
- https://scottmoss.notion.site/Unit-testing-with-Jest-843302eedecc4a0da12e1d7f37feae37
#lesson
Scott demonstrates writing and running tests using the Jest testing framework. Jest automatically scans for test files in the tests directory and executes them.
- https://scottmoss.notion.site/Unit-testing-with-Jest-843302eedecc4a0da12e1d7f37feae37
#lesson
Media is too big
VIEW IN TELEGRAM
23. Testing with Mocks
Scott discusses testing with mock functions and data to perform tests without modifying the actual data in the database. Mock functions, also referred to as "spies," observe the behavior of indirectly called functions, allowing for thorough testing of function behavior and output.
#lesson
Scott discusses testing with mock functions and data to perform tests without modifying the actual data in the database. Mock functions, also referred to as "spies," observe the behavior of indirectly called functions, allowing for thorough testing of function behavior and output.
#lesson