O'Reilly logo

Node Web Development - Second Edition by David Herron

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Multiuser Authorization, Deployment, Scaling, and Hosting

Now that our Notes application can save its data in a database, we can think about the next phase of making this a real application. The three aspects of this that we'll discuss in this chapter are:

  • User authentication, to control who can edit notes
  • Deploying a Node application to a production server
  • Scaling the application to match traffic

User authentication

It seems so natural to log in to a website to use its services. We do it everyday, and even trust our banking and investments organizations with the information accessed, by logging in to websites. But HTTP is a stateless protocol, and a web server or a web application cannot tell much about one HTTP request versus another. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required