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)

Preface

This book is a collection of recipes targeted at building modern, all-JavaScript web applications using MongoDB, Express, Angular, and Node.js. Using this MEAN stack, we will configure everything from the frontend of our application's user interface to the backend API and database in an easy-to-follow, project-based fashion. Follow along from the beginning as we build our knowledge of technologies and techniques to scaffold a blogging application, or choose your area of interest and dive deep into the various layers that make up a MEAN stack web application.

You'll find opportunities to learn the latest JavaScript language enhancements, including working with ES2017 and TypeScript to make your application's code more expressive and modular. We'll also explore the latest versions of popular JavaScript frameworks, including the newly released Angular 4, for frontend application development. The recipes and examples in this book also provide detailed references and documentation explaining the various APIs and tools you'll use in your MEAN stack application.

For developers building a MEAN stack experience, this book will call out common pitfalls and fixes for issues you might encounter along the way. Expert developers will find advanced topics that are not often covered in-depth. No matter what your experience level is, you will find practical, realistic examples of building real MEAN stack web applications.