Book Image

MEAN Cookbook

By : Nicholas McClay
Book Image

MEAN Cookbook

By: Nicholas McClay

Overview of this book

The MEAN Stack is a framework for web application development using JavaScript-based technologies; MongoDB, Express, Angular, and Node.js. If you want to expand your understanding of using JavaScript to produce a fully functional standalone web application, including the web server, user interface, and database, then this book can help guide you through that transition. This book begins by configuring the frontend of the MEAN stack web application using the Angular JavaScript framework. We then implement common user interface enhancements before moving on to configuring the server layer of our MEAN stack web application using Express for our backend APIs. You will learn to configure the database layer of your MEAN stack web application using MongoDB and the Mongoose framework, including modeling relationships between documents. You will explore advanced topics such as optimizing your web application using WebPack as well as the use of automated testing with the Mocha and Chai frameworks. By the end of the book, you should have acquired a level of proficiency that allows you to confidently build a full production-ready and scalable MEAN stack application.
Table of Contents (13 chapters)

Production error tracking and debugging with Sentry.io

Having solid debugging tools available in your development environment is great, but what about after your web application is released? Keeping tabs on unexpected behavior in your application can make responding to customer issues much quicker and less stressful than attempting to reproduce an error from a first-hand account. It can also help give insight into the frequency of issues in your application to help triage the fixes that effect the most customers first.

There are many tools available for monitoring errors and issues in production websites. One option that is easy to use and free to get started is Sentry, a multi-platform error tracking and monitoring service that is easily integrated into an existing Angular web application. Let's explore how to add production tracking and debugging support to our Angular...