Node.js Essentials

From client to server, learn how Node.js can help you use JavaScript more effectively to develop faster and more scalable applications with ease
Preview in Mapt

Node.js Essentials

Fabian Cook

1 customer reviews
From client to server, learn how Node.js can help you use JavaScript more effectively to develop faster and more scalable applications with ease
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $19.99
Save 49%
Print + eBook
$24.99
RRP $24.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$24.99
$29.99 p/m after trial
RRP $19.99
RRP $24.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Node.js Essentials Book Cover
Node.js Essentials
$ 19.99
$ 10.00
Web Development with Node.js, MongoDB and Express [Video] Book Cover
Web Development with Node.js, MongoDB and Express [Video]
$ 124.99
$ 10.00
Buy 2 for $20.00
Save $124.98
Add to Cart

Book Details

ISBN 139781785284922
Paperback118 pages

Book Description

Node.js is simply a tool that lets you useJavaScript on the server side. But it actually does much more than that – by extending JavaScript it allows for a much more integrated and efficient approach to development. It’s no surprise that it’s a fundamental tool for full-stack JavaScript developers. Whether your working on the back end or front end – by using Node.js you’re adopting a much more collaborative and agile way of working – so you and your team can focus on delivering a quality end product. This will ensure you’re ready to take on any new challenges that get thrown at you.

NodeJS Essentials takes you through the fundamentals of Node.JS and demonstrates how Node.js can transform the way you work with JavaScript and take greater control over your code.

You will also learn how to create a HTTP server from scratch, route requests, create a RESTful interface, and authenticate users. You will also learn to debug applications using Node.Inspector and the importance of logging, as well as creating a reusable library.Finally, you’ll find out how to test and optimizr your code when working with Node.js using the Mocha framework. Follow each step and discover how to test both synchronous and asynchronous code using Mocha unit tests.

With Node.js Essentials you’ll find everything you need to create a complete full-stack application with Node.js. It will help you harness JavaScript much more effectively – and in doing so expand your confidence and capabilities as a developer.

Table of Contents

Chapter 1: Getting Started
Setting up
Hello require
Hello npm
Summary
Chapter 2: Simple HTTP
Introducing routing
Summary
Chapter 3: Authentication
Basic authentication
Bearer tokens
OAuth
Summary
Chapter 4: Debugging
Logging
Error handling
Summary
Chapter 5: Configuration
JSON files
Environmental variables
Arguments
Summary
Chapter 6: Level DB and NoSQL
Level DB
MongoDB
Summary
Chapter 7: Socket.IO
Rooms
Authentication
Summary
Chapter 8: Creating and Deploying Packages
Creating npm packages
Summary
Chapter 9: Unit Testing
Installing mocha
Chai
Stubbing methods
Summary
Chapter 10: Using More Than JavaScript
CoffeeScript
Code blocks and functions
The existential operator
Objects and arrays
Classes
Summary

What You Will Learn

  • Create and use an HTTP server using Express.js
  • Configure environmental variables, arguments, and config files
  • Use a Key/Value NoSQL database with Node to store data
  • Create a client-side application using Node and Node.Webkit
  • Debug applications using Node.Inspector
  • Create a library that can be used in more than one project
  • Install packages from NPM

Authors

Table of Contents

Chapter 1: Getting Started
Setting up
Hello require
Hello npm
Summary
Chapter 2: Simple HTTP
Introducing routing
Summary
Chapter 3: Authentication
Basic authentication
Bearer tokens
OAuth
Summary
Chapter 4: Debugging
Logging
Error handling
Summary
Chapter 5: Configuration
JSON files
Environmental variables
Arguments
Summary
Chapter 6: Level DB and NoSQL
Level DB
MongoDB
Summary
Chapter 7: Socket.IO
Rooms
Authentication
Summary
Chapter 8: Creating and Deploying Packages
Creating npm packages
Summary
Chapter 9: Unit Testing
Installing mocha
Chai
Stubbing methods
Summary
Chapter 10: Using More Than JavaScript
CoffeeScript
Code blocks and functions
The existential operator
Objects and arrays
Classes
Summary

Book Details

ISBN 139781785284922
Paperback118 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Node.js Design Patterns - Second Edition Book Cover
Node.js Design Patterns - Second Edition
$ 39.99
$ 10.00
Node.js Web Development - Third Edition Book Cover
Node.js Web Development - Third Edition
$ 35.99
$ 10.00
Learning Web Development with Bootstrap and AngularJS Book Cover
Learning Web Development with Bootstrap and AngularJS
$ 39.99
$ 10.00
Developing Microservices with Node.js Book Cover
Developing Microservices with Node.js
$ 31.99
$ 10.00
RESTful Web API Design with Node.js - Second Edition Book Cover
RESTful Web API Design with Node.js - Second Edition
$ 23.99
$ 10.00
Node.js 6.x Blueprints Book Cover
Node.js 6.x Blueprints
$ 39.99
$ 10.00