Book Image

Node Web Development - Second Edition

By : David Herron
Book Image

Node Web Development - Second Edition

By: David Herron

Overview of this book

Table of Contents (17 chapters)
Node Web Development Second Edition
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


We've come a long way in this chapter about user authentication in Node, and several aspects of deploying and scaling Node applications.

Specifically we covered:

  • Session management in Connect and Express

  • Cookie handling in Express

  • The passport user authentication system

  • Router middleware in Express

  • Setting up multiple-data models

  • The cluster and workforce modules to scale within the server

  • Using forever to keep a background Node application running

  • Configuring an LSB-compliant script to start a Node application on Debian at system boot

  • Deploying applications to AppFog

  • Tunneling to the database service on AppFog

In the next chapter, we'll be taking the Notes application to a whole new level. We'll be exploring how to bridge between the browser side and server side, using JavaScript code on both ends to create real-time communication between the two.