Node JS

An introduction to learning the essential core elements of Node JS.

Watch User Created Playlist (11)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

npm init

P

npm install

P

Understand Node.js Buffers

Using npm run to launch local scripts

P

Creating Demo APIs with json-server

Define dynamic routes through Express

P

Understand Callbacks in Node.js

P

Use Template Engines with Express

P

Serve static files with express

P

Creating a Fake API with Hapi For Your Client-Side Application

Manage Memory and Garbage Collection in Node.js

P
node tutorial about npm init

npm init

1:29 node PRO

npm init provides an interactive step-by-step interface for creating a package.json

node tutorial about npm install

npm install

2:26 node PRO

npm install provides a convenient way to manage your node.js dependencies.

node tutorial about Understand Node.js Buffers

Understand Node.js Buffers

10:30 node

In this lesson, we cover the Node.js Buffer object in detail. Not only will you learn that the buffer object is a reference to a memory space outside of the V8 engine, but you will learn practical methods to access it, modify it, and convert it to standard Javascript objects that can be used by your code. Examples and discussion are provided for using the toString() method, determining the byte length of the buffer, writing to a buffer, how to avoid truncating data, comparing buffers for equality using both compare() and equals(), and copying buffers using slice().

node tutorial about Using npm run to launch local scripts

Using npm run to launch local scripts

2:11 node PRO

npm run allows you to configure scripts inside of your package.json file which can access locally installed node packages. If you're comfortable with this technique, you can also grunt, gulp, or other build tools by customizing your scripts and saving them inside of your package.json file. With this approach, when a developer starts a new project with your package.json, they can simply run npm install then npm run yourscript without having to install any node packages globally.

node tutorial about Creating Demo APIs with json-server

Creating Demo APIs with json-server

6:02 node

json-server makes it extremely easy to setup robust JSON apis to use for demos and proof of concepts. John walks you through the process of using pre-built json files for a server and how to generate larger datasets using lodash and faker.

node tutorial about Define dynamic routes through Express

Define dynamic routes through Express

4:30 node PRO

Routing is a fundamental aspect of Express. This lesson demonstrates how to define dynamic routes and access route parameters in your code.

node tutorial about Understand Callbacks in Node.js

Understand Callbacks in Node.js

7:03 node PRO

In this lesson you will learn what callbacks are, how to use them and why we use them in our Node applications. We start with a simple javascript function and build a second function that uses it as a callback to understand the basic operation of a callback. From there, we create a few more functions that help illustrate how using callbacks can help us keep our code legible and organized as well as allowing us to use generic functions that can bring in extra functionality when needed via the callback.

node tutorial about Use Template Engines with Express

Use Template Engines with Express

3:20 node PRO

Template engines allow you to define your UIs in a declarative manner while maintaining a dynamic, data driven presentation layer. This lesson will demonstrate how to use template engines that have built-in support for Express as well as engines without explicit Express support.

node tutorial about Serve static files with express

Serve static files with express

3:20 node PRO

Sometimes you just need to serve existing files. In this lesson we'll examine how to use functionality built into Express to do just that.

node tutorial about Creating a Fake API with Hapi For Your Client-Side Application

Creating a Fake API with Hapi For Your Client-Side Application

3:56 node

When developing client-side applications, you may find you're in the situation where you require data from a server-side API that is not yet available. The lesson will teach you how to make use of the hapi-dummy-api plugin to create an API that will return fake data to your client-side application.

node tutorial about Manage Memory and Garbage Collection in Node.js

Manage Memory and Garbage Collection in Node.js

8:40 node PRO

In this lesson, you will learn how to use view and interpret the garbage collection activity of your node.js app via the console. You will also learn how to take heapdump snapshots and analyze them with Chrome Developer Tools to identify possible memory leaks. A sample app with a known memory leak is provided as part of the walk-through to illustrate how to use the tools in your own environments.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?