Book Image

Mastering Web Application Development with Express

By : Alexandru Vladutu
Book Image

Mastering Web Application Development with Express

By: Alexandru Vladutu

Overview of this book

Table of Contents (18 chapters)
Mastering Web Application Development with Express
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we created a sample movie application that we have later refactored step by step to use the available NPM modules for keeping the code base DRY.

There are many tiny reusable modules that allow us to make the most out of code reuse. We have only tackled some of them in this chapter, but the NPM registry contains a lot more of these modules that await our attention.

In the next chapter, we are going to learn how to handle errors in our Express applications. We will be covering topics such as how to create a custom error handler, the different types of errors that can occur and how to handle them, enabling longer stack traces, and handling uncaught exceptions.