Introduction
Get started with Node.js
()
Use the exercise files
()
1. Introduction to Node
Understanding Node
()
Demo application overview
()
Download and install Node
()
Why is Javascript Node's language?
()
The benefits and features of Javascript
()
Asynchronous tasks and callbacks
()
2. Understanding npm: Node Package Manager
Write your own module
()
Manage third-party packages with npm
()
What is the package.json file?
()
3. Reading and Writing Files
Read from files
()
Access directories
()
Write to a file
()
4. Exploring Web Frameworks
Node.js frameworks
()
Express
()
Socket.io
()
5. Building Your Demo App Chat Client for the Browser
Static serving with Express
()
Create your browser app
()
Create a get messages service
()
Create a post messages service
()
Connect to Socket.io from the browser app
()
Create your Socket.io event
()
6. Exploring Databases
Types of data frameworks
()
Set up MongoDB
()
Mongoose
()
Saving data to MongoDB with Mongoose
()
7. Improving Asynchronous Code
Nested callbacks
()
Promises
()
Async/await
()
Challenge: Convert into async/await
()
Solution: Convert into async/await
()
8. Error Handling and Debugging
Try/catch
()
Finally
()
Editor debugging
()
Challenge: Convert for error handling
()
Solution: Convert for error handling
()
9. Testing
Simple test with Jasmine
()
Async test with Jasmine
()
Introduction to test first development
()
Challenge: Write a passing test
()
Solution: Write a passing test
()
Ex_Files_Learning_Node_js_2021_Q3.zip
(48 KB)