Learning Node.js

Learning Node.js

2h 1mBeginner2021-08-16

Authors

Alexander Zanfir

Alexander Zanfir

President of SocialPlay Inc.

Course details

Node.js is a platform built on the Chrome JavaScript runtime that can help you build fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient—perfect for data-intensive real-time applications that run across distributed devices. In this course, learn the basics of Node.js, and discover how to build a simple application. Alexander Zanfir goes into topics such as npm, reading and writing files, and Node.js frameworks. He covers Node.js features, such as async/await, and dives into popular web development concepts. Alexander also walks through how to build a demo chat app from start to finish.

Learning objectives
Asynchronous tasks and callbacks
Benefits and features of JavaScript
Managing third-party packages with npm
Node.js frameworks
Static serving with Express
Creating a browser app
Exploring databases
Saving data to MongoDB with Mongoose
Error handling and debugging
Simple tests and async tests

Skills covered

Node.jsJavaScript FrameworksLearningWeb DevelopmentOpen Source

Concepts

0. Introduction

  • 01 - Get started with Node.js
  • 02 - Use the exercise files

1. Introduction to Node

  • 03 - Understanding Node
  • 04 - Demo application overview
  • 05 - Download and install Node
  • 06 - Why is Javascript Node's language
  • 07 - The benefits and features of Javascript
  • 08 - Asynchronous tasks and callbacks

2. Understanding npm - Node Package Manager

  • 09 - Write your own module
  • 10 - Manage third-party packages with npm
  • 11 - What is the package.json file

3. Reading and Writing Files

  • 12 - Read from files
  • 13 - Access directories
  • 14 - Write to a file

4. Exploring Web Frameworks

  • 15 - Node.js frameworks
  • 16 - Express
  • 17 - Socket.io

5. Building Your Demo App Chat Client for the Browser

  • 18 - Static serving with Express
  • 19 - Create your browser app
  • 20 - Create a get messages service
  • 21 - Create a post messages service
  • 22 - Connect to Socket.io from the browser app
  • 23 - Create your Socket.io event

6. Exploring Databases

  • 24 - Types of data frameworks
  • 25 - Set up MongoDB
  • 26 - Mongoose
  • 27 - Saving data to MongoDB with Mongoose

7. Improving Asynchronous Code

  • 28 - Nested callbacks
  • 29 - Promises
  • 30 - Async await
  • 31 - Challenge - Convert into async await
  • 32 - Solution - Convert into async await

8. Error Handling and Debugging

  • 33 - Try catch
  • 34 - Finally
  • 35 - Editor debugging
  • 36 - Challenge - Convert for error handling
  • 37 - Solution - Convert for error handling

9. Testing

  • 38 - Simple test with Jasmine
  • 39 - Async test with Jasmine
  • 40 - Introduction to test first development
  • 41 - Challenge - Write a passing test
  • 42 - Solution - Write a passing test

Conclusion

  • 43 - Next steps
80,000 Toman