Advanced Node.js Development

Takes you through creating your own API, building a full real-time web app, securing your Node systems, and practical applications of the latest Async and Await technologies. It maps out everything in a comprehensive, easy-to-follow package designed to get you up and running quickly.
Preview in Mapt

Advanced Node.js Development

Andrew Mead
New Release!

Takes you through creating your own API, building a full real-time web app, securing your Node systems, and practical applications of the latest Async and Await technologies. It maps out everything in a comprehensive, easy-to-follow package designed to get you up and running quickly.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.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
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Advanced Node.js Development Book Cover
Advanced Node.js Development
$ 31.99
$ 22.40
Hands-on Application Development with Node.js [Video] Book Cover
Hands-on Application Development with Node.js [Video]
$ 124.99
$ 106.25
Buy 2 for $35.00
Save $121.98
Add to Cart

Book Details

ISBN 139781788393935
Paperback592 pages

Book Description

Advanced Node.js Development is a practical, project-based book that provides you with all you need to progress as a Node.js developer. Node is a ubiquitous technology on the modern web, and an essential part of any web developer’s toolkit. If you're looking to create real-world Node applications, or you want to switch careers or launch a side-project to generate some extra income, then you're in the right place. This book was written around a single goal: turning you into a professional Node developer capable of developing, testing, and deploying real-world production applications.

There's no better time to dive in. According to the 2018 Stack Overflow Survey, Node is in the top ten for back-end popularity and back-end salary. This book is built from the ground up around the latest version of Node.js (version 9.x.x). You'll be learning all the cutting-edge features available only in the latest software versions.

This book delivers advanced skills that you need to become a professional Node developer. Along this journey you'll create your own API, you'll build a full real-time web app and create projects that apply the latest Async and Await technologies. Andrew Mead maps everything out for you in this book so that you can learn how to build powerful Node.js projects in a comprehensive, easy-to-follow package designed to get you up and running quickly.

Table of Contents

Chapter 1: Getting Set Up
Installing MongoDB and Robomongo for Linux and macOS
Installing MongoDB and Robomongo for Windows
Summary
Chapter 2: MongoDB, Mongoose, and REST APIs – Part 1
Connecting to MongoDB and writing data
The ObjectId
Fetching data
Setting up the repo
Deleting documents
Updating data
Summary
Chapter 3: MongoDB, Mongoose, and REST APIs – Part 2
Setting up Mongoose
Validators, Types, and Defaults
Installing Postman
Resource Creation Endpoint - POST /todos
Testing POST /todos
List Resources - GET /todos
Testing GET /todos
Summary
Chapter 4: MongoDB, Mongoose, and REST APIs – Part 3
Mongoose queries and ID validation
Getting an individual resource – GET /todos/:id
Testing GET /todos/:id
Deploying the API to Heroku
Postman environments
Deleting a resource – DELETE /todos/:id
Testing DELETE /todos/:id
Updating a Resource - PATCH /todos/:id
Testing PATCH /todos/:id
Creating a Test database
Summary
Chapter 5: Real-Time Web Apps with Socket.io
Creating a new web app project
Adding Socket.io to an app
Emitting and listening to custom events
Broadcasting events
Summary
Chapter 6: Generating newMessage and newLocationMessage
Message generator and tests
Event acknowledgements
The message form and jQuery
Geolocation
Summary
Chapter 7: Styling Our Chat Page as a Web App
Styling the chat page
Timestamps and formatting with Moment
Printing message timestamps
Mustache.js
Autoscrolling
Summary
Chapter 8: The Join Page and Passing Room Data
Adding a join page
Passing room data
Socket.io rooms
Summary
Chapter 9: ES7 classes
Storing users with ES6 classes – Part I
Wiring up user list
Sending messages to room only
New feature ideas
Summary
Chapter 10: Async/Await Project Setup
Using async/await features in promises
Async/await basics
A real-world example
Handling errors and awaiting async function
Summary

What You Will Learn

  • Develop, test, and deploy real-world Node.js applications
  • Master Node.js by building practical, working examples
  • Use awesome third-party Node modules such as MongoDB, Mongoose, Socket.io, and Express
  • Create real-time web applications
  • Explore async and await in ES7

Authors

Table of Contents

Chapter 1: Getting Set Up
Installing MongoDB and Robomongo for Linux and macOS
Installing MongoDB and Robomongo for Windows
Summary
Chapter 2: MongoDB, Mongoose, and REST APIs – Part 1
Connecting to MongoDB and writing data
The ObjectId
Fetching data
Setting up the repo
Deleting documents
Updating data
Summary
Chapter 3: MongoDB, Mongoose, and REST APIs – Part 2
Setting up Mongoose
Validators, Types, and Defaults
Installing Postman
Resource Creation Endpoint - POST /todos
Testing POST /todos
List Resources - GET /todos
Testing GET /todos
Summary
Chapter 4: MongoDB, Mongoose, and REST APIs – Part 3
Mongoose queries and ID validation
Getting an individual resource – GET /todos/:id
Testing GET /todos/:id
Deploying the API to Heroku
Postman environments
Deleting a resource – DELETE /todos/:id
Testing DELETE /todos/:id
Updating a Resource - PATCH /todos/:id
Testing PATCH /todos/:id
Creating a Test database
Summary
Chapter 5: Real-Time Web Apps with Socket.io
Creating a new web app project
Adding Socket.io to an app
Emitting and listening to custom events
Broadcasting events
Summary
Chapter 6: Generating newMessage and newLocationMessage
Message generator and tests
Event acknowledgements
The message form and jQuery
Geolocation
Summary
Chapter 7: Styling Our Chat Page as a Web App
Styling the chat page
Timestamps and formatting with Moment
Printing message timestamps
Mustache.js
Autoscrolling
Summary
Chapter 8: The Join Page and Passing Room Data
Adding a join page
Passing room data
Socket.io rooms
Summary
Chapter 9: ES7 classes
Storing users with ES6 classes – Part I
Wiring up user list
Sending messages to room only
New feature ideas
Summary
Chapter 10: Async/Await Project Setup
Using async/await features in promises
Async/await basics
A real-world example
Handling errors and awaiting async function
Summary

Book Details

ISBN 139781788393935
Paperback592 pages
Read More

Read More Reviews

Recommended for You

Hands-on Application Development with Node.js [Video] Book Cover
Hands-on Application Development with Node.js [Video]
$ 124.99
$ 106.25
Advanced Server-Side Programming with Node.js [Video] Book Cover
Advanced Server-Side Programming with Node.js [Video]
$ 124.99
$ 106.25
Learning Node.js Development Book Cover
Learning Node.js Development
$ 31.99
$ 22.40
RESTful Web API Design with Node.js 10 - Third Edition Book Cover
RESTful Web API Design with Node.js 10 - Third Edition
$ 23.99
$ 16.80
Web Development with Node.js, MongoDB and Express [Video] Book Cover
Web Development with Node.js, MongoDB and Express [Video]
$ 124.99
$ 106.25
Learn Node.js by Building 6 Projects Book Cover
Learn Node.js by Building 6 Projects
$ 27.99
$ 19.60