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

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.98/m after trial
eBook
€15.12
RRP €21.58
Save 29%
Print + eBook
€22.99
RRP €22.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
€15.12
€22.99
€29.98p/m after trial
RRP €21.58
RRP €22.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

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

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
€ 25.18
€ 5.04
Learning Angular 2 Book Cover
Learning Angular 2
€ 34.78
€ 24.36
Learning Web Development with Bootstrap and AngularJS Book Cover
Learning Web Development with Bootstrap and AngularJS
€ 40.78
€ 28.56
AngularJS Web Application Development Cookbook Book Cover
AngularJS Web Application Development Cookbook
€ 28.78
€ 5.76
MEAN Web Development Book Cover
MEAN Web Development
€ 26.38
€ 2.64
React.js Essentials Book Cover
React.js Essentials
€ 26.38
€ 18.48