Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Learning Node.js

via LinkedIn Learning

Overview

Learn the basics of Node.js—a lightweight JavaScript-based platform—and how to build a simple application.

Syllabus

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
Conclusion
  • Next steps

Taught by

Alexander Zanfir

Reviews

4.5 rating at LinkedIn Learning based on 901 ratings

Start your review of Learning Node.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.