Book description
Develop your real-time MEAN application efficiently using a combination of MongoDB, Express, Angular, and Node
About This Book
Construct a fully-functional MEAN application by using its components along with the best third-party modules
Harness the power of the JavaScript ecosystem to effectively run, build, and test your MEAN application
Gain a deep, practical understanding of real-time web application development through real-world examples
Who This Book Is For
If you are a JavaScript developer who is interested in building modern web applications using MongoDB, Express, Angular 2, and Node 5.0, then this book is for you. You only need knowledge of JavaScript development.
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
In Detail
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!
Style and approach
This comprehensive guide covers every part of the MEAN stack, and focuses on the gestalt power of the apps they can create through practical, real-world examples
Table of contents
-
MEAN Web Development Second Edition
- Table of Contents
- MEAN Web Development Second Edition
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Introduction to MEAN
- 2. Getting Started with Node.js
- 3. Building an Express Web Application
- 4. Introduction to MongoDB
- 5. Introduction to Mongoose
-
6. Managing User Authentication Using Passport
- Introducing Passport
- Understanding Passport strategies
- Understanding Passport OAuth strategies
- Summary
-
7. Introduction to Angular
- Introducing Angular 2
- Introduction to TypeScript
- Angular 2 Architecture
- The project setup
- Managing authentication
- Summary
-
8. Creating a MEAN CRUD Module
- Introducing CRUD modules
-
Setting up the Express components
- Creating the Mongoose model
-
Setting up the Express controller
- The error handling method of the Express controller
- The create() method of the Express controller
- The list() method of the Express controller
- The read() middleware of the Express controller
- The update() method of the Express controller
- The delete() method of the Express controller
- Implementing an authentication middleware
- Implementing an authorization middleware
- Wiring the Express routes
- Configuring the Express application
- Using the HTTP client
- The ReactiveX library
- Implementing the Angular module
- Wrapping up
- Summary
- 9. Adding Real-time Functionality Using Socket.io
- 10. Testing MEAN Applications
- 11. Automating and Debugging MEAN Applications
- Index
Product information
- Title: MEAN Web Development - Second Edition
- Author(s):
- Release date: November 2016
- Publisher(s): Packt Publishing
- ISBN: 9781785886300
You might also like
book
Web Application Development with MEAN
Unlock the power of the MEAN stack by creating attractive and real-world projects About This Book …
book
HTML5 Geolocation
Truly revolutionary: now you can write geolocation applications directly in the browser, rather than develop native …
book
Full Stack Development with JHipster - Second Edition
Written by the core development team of JHipster and fully updated for JHipster 6, Java 11, …
book
Win32 System Services: The Heart of Windows® 98 and Windows® 2000
The Win32 best-seller, fully updated for Windows 2000 and Windows 98! Master every key Win32 system …