MEAN Web Development - Second Edition

Develop your real-time MEAN application efficiently using a combination of MongoDB, Express, Angular, and Node

MEAN Web Development - Second Edition

Learning
Amos Q. Haviv

1 customer reviews
Develop your real-time MEAN application efficiently using a combination of MongoDB, Express, Angular, and Node
$35.99
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

Free Sample

Book Details

ISBN 139781785886300
Paperback368 pages

Book Description

The MEAN stack is a collection of the most popular modern tools for web development that helps you build fast, robust, and maintainable web applications.

Starting with the MEAN core frameworks, this pragmatic guide will explain the key concepts of each framework, how to set them up properly, and how to use popular modules to connect it all together. By following the real-world examples shown in this tutorial, you will scaffold your MEAN application architecture, add an authentication layer, and develop an MVC structure to support your project development. You will learn the best practices of maintaining clear and simple code and will see how to avoid common pitfalls.

Finally, you will walk through the different tools and frameworks that will help expedite your daily development cycles.

Watch how your application development grows by learning from the only guide that is solely orientated towards building a full, end-to-end, real-time application using the MEAN stack!

Table of Contents

Chapter 1: Introduction to MEAN
Three-tier web application development
The evolution of JavaScript
Introduction to ECMAScript 2015
Introducing MEAN
Installing MongoDB
Installing Node.js
Introducing npm
Summary
Chapter 2: Getting Started with Node.js
Introduction to Node.js
JavaScript Closures
Node modules
Developing Node.js web applications
Summary
Chapter 3: Building an Express Web Application
Introducing Express
Installing Express
Creating your first Express application
The application, request, and response objects
External middleware
Implementing the MVC pattern
Configuring an Express application
Rendering views
Serving static files
Configuring sessions
Summary
Chapter 4: Introduction to MongoDB
Introduction to NoSQL
Introducing MongoDB
Key features of MongoDB
MongoDB shell
MongoDB databases
MongoDB collections
MongoDB CRUD operations
Summary
Chapter 5: Introduction to Mongoose
Introducing Mongoose
Understanding Mongoose schemas
Extending your Mongoose schema
Defining custom model methods
Model validation
Using Mongoose middleware
Using Mongoose ref fields
Summary
Chapter 6: Managing User Authentication Using Passport
Introducing Passport
Understanding Passport strategies
Understanding Passport OAuth strategies
Summary
Chapter 7: Introduction to Angular
Introducing Angular 2
Introduction to TypeScript
Angular 2 Architecture
The project setup
Managing authentication
Summary
Chapter 8: Creating a MEAN CRUD Module
Introducing CRUD modules
Setting up the Express components
Using the HTTP client
The ReactiveX library
Implementing the Angular module
Wrapping up
Summary
Chapter 9: Adding Real-time Functionality Using Socket.io
Introducing WebSockets
Introducing Socket.io
Installing Socket.io
Building a Socket.io chat
Creating the Chat Angular module
Summary
Chapter 10: Testing MEAN Applications
Introducing JavaScript testing
Testing your Express application
Installing Mocha
Testing your Angular application
Summary
Chapter 11: Automating and Debugging MEAN Applications
Using NPM scripts
Introducing Webpack
Introducing ESLint
Using Nodemon
Debugging Express with V8 inspector
Debugging your application
Debugging Angular applications with Angular Augury
Summary

What You Will Learn

  • Use MongoDB to store and retrieve your application's data
  • Connect your Express application to MongoDB and use the Mongoose module
  • Manage your users' authentication and offer them diverse login options using Passport
  • Structure and use an Angular 2 application in your MEAN project
  • Use Socket.io to create real-time communication between your client and server
  • Test your application's Express and Angular 2 entities

Authors

Table of Contents

Chapter 1: Introduction to MEAN
Three-tier web application development
The evolution of JavaScript
Introduction to ECMAScript 2015
Introducing MEAN
Installing MongoDB
Installing Node.js
Introducing npm
Summary
Chapter 2: Getting Started with Node.js
Introduction to Node.js
JavaScript Closures
Node modules
Developing Node.js web applications
Summary
Chapter 3: Building an Express Web Application
Introducing Express
Installing Express
Creating your first Express application
The application, request, and response objects
External middleware
Implementing the MVC pattern
Configuring an Express application
Rendering views
Serving static files
Configuring sessions
Summary
Chapter 4: Introduction to MongoDB
Introduction to NoSQL
Introducing MongoDB
Key features of MongoDB
MongoDB shell
MongoDB databases
MongoDB collections
MongoDB CRUD operations
Summary
Chapter 5: Introduction to Mongoose
Introducing Mongoose
Understanding Mongoose schemas
Extending your Mongoose schema
Defining custom model methods
Model validation
Using Mongoose middleware
Using Mongoose ref fields
Summary
Chapter 6: Managing User Authentication Using Passport
Introducing Passport
Understanding Passport strategies
Understanding Passport OAuth strategies
Summary
Chapter 7: Introduction to Angular
Introducing Angular 2
Introduction to TypeScript
Angular 2 Architecture
The project setup
Managing authentication
Summary
Chapter 8: Creating a MEAN CRUD Module
Introducing CRUD modules
Setting up the Express components
Using the HTTP client
The ReactiveX library
Implementing the Angular module
Wrapping up
Summary
Chapter 9: Adding Real-time Functionality Using Socket.io
Introducing WebSockets
Introducing Socket.io
Installing Socket.io
Building a Socket.io chat
Creating the Chat Angular module
Summary
Chapter 10: Testing MEAN Applications
Introducing JavaScript testing
Testing your Express application
Installing Mocha
Testing your Angular application
Summary
Chapter 11: Automating and Debugging MEAN Applications
Using NPM scripts
Introducing Webpack
Introducing ESLint
Using Nodemon
Debugging Express with V8 inspector
Debugging your application
Debugging Angular applications with Angular Augury
Summary

Book Details

ISBN 139781785886300
Paperback368 pages
Read More
From 1 reviews

Read More Reviews