Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering Node.js 12.x
Rating: 4.5 out of 5(69 ratings)
347 students

Mastering Node.js 12.x

Your one-stop solution to getting ahead with Node.js 12.x
Last updated 3/2019
English
English [Auto],

What you'll learn

  • Simplify asynchronous operations and write faster code with async/await
  • Write easily readable code with functional reactive programming techniques
  • Handle errors effectively and provide relative responses quickly
  • Organize your code in controllers with Express .js Route
  • Set up MySQL and query it with Sequelize
  • Achieve effortless communication between microservices
  • Secure endpoints and authenticate users with JSON Web Tokens (JWTs)
  • Respond to repeated requests by caching responses with Redis

Course content

7 sections38 lectures4h 16m total length
  • The Course Overview2:31

    This video will give you an overview about the course.

  • The Event Loop8:23

    Most Node.js developers know that Node.js is a single threaded non-blocking I/O platform.

    • Present what Node.JS consists of

    • Show examples of the event loop along with stack, heap, and code

    • The event loop

  • Mastering Promises17:11

    Promises are an improvement to the callback hell but they’re not always used in an optimal way.

    • Improve existing callback code with promises

    • Demonstrate optimal error handling

    • Mastering promises

  • Using Util.promisify3:01

    Promises and async/await are here to stay but some of the internal libraries like fs still use callbacks.

    • Use Util.promisify to promisify fs.readFile

    • Read from a file using both the callback approach and the promise approach

    • Using Util.promisify

  • Learning async/await4:26

    Async/await is the latest development in the JavaScript world and a complete solution to callbacks.

    • Transform the code files from the previous video to files using async/await

    • Demonstrate proper error handling with try/catch

    • Learning async/await

Requirements

  • JavaScript developer with basic experience in Node .js

Description

Node.js is a technology that you can quickly become familiar with, but it can be hard to master to build fast and secure solutions. Instead of covering the basics, this course will help you to progress to understand advanced concepts such as asynchronicity, the event loop, clean error handling with Express Middleware and functional reactive programming.

You will start off by working through the process of creating a subscription management system, where you will optimize directory structures. This will help you with the organization, as Node.js apps usually don't follow filename and directory conventions. As you delve deeper into the course, you'll learn how to build an API in the form of microservices, managed through PM2. As you progress, you will connect and utilize two of the most widely used technologies in the Node.js World; MySQL, the most commonly used relational database, and Redis, a popular technology used in caching. Once you've built a solid infrastructure, you'll be able to build an authentication service with the help of Passport and JSON Web Tokens.

By the end of this course, you will be able to tackle harder challenges in your Node.js projects by efficiently using the best tools available, while also meeting demanding industry standards for a clean and scalable code.

This course uses Node.js 12.0.0, while not the latest version available, it provides relevant and informative content for legacy users of Node.js.

About the Author

Dimitris Loukas is a software engineer currently part of a growing start-up building a revolutionary referral marketing platform with Node.js, Angular, MySQL, Redis, and Docker. He is also developing trading software applications using C#, Aurelia, and TypeScript. He is an author at Packt and has developed many video tutorials in C#, .NET Core, and TypeScript. He has worked for two start-ups in the past, is active in the open-source community, and loves taking up small side projects. He has developed microservices using C# and Node.js and has also mastered Angular, Aurelia, and Vue.js. He was an early adopter of .NET Core and is fascinated by modern JavaScript and where the web is going.

Who this course is for:

  • If you are a JavaScript developer with basic experience in Node .js and want to take it to the next level by writing well-managed code for fast, scalable and responsive web applications, this is the course for you.