Book description
Master real-time web application development using a mean combination of MongoDB, Express, AngularJS, and Node.js
In Detail
The MEAN stack is a collection of the most popular modern tools for web development; it comprises MongoDB, Express, AngularJS, and Node.js.
Starting with MEAN core frameworks, this project-based 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. 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!
What You Will Learn
- Set up and run an Express application
- 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 AngularJS application in your MEAN project
- Use Socket.io to create real-time communication between your client and server
- Test your application's Express and AngularJS entities
- Develop your MEAN application more efficiently using popular third-party tools
Table of contents
-
MEAN Web Development
- Table of Contents
- MEAN Web Development
- Credits
- About the Author
- About the Reviewers
- 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 AngularJS
- Introducing AngularJS
- Key concepts of AngularJS
- Installing AngularJS
- Structuring an AngularJS application
- Bootstrapping your AngularJS application
- AngularJS MVC entities
- AngularJS routing
- AngularJS services
- Managing AngularJS 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
- Introducing the ngResource module
- Implementing the AngularJS MVC module
- Finalizing your module implementation
- Summary
- 9. Adding Real-time Functionality Using Socket.io
-
10. Testing MEAN Applications
- Introducing JavaScript testing
- Testing your Express application
-
Testing your AngularJS application
- Introducing the Jasmine framework
- AngularJS unit tests
- AngularJS E2E tests
- Summary
- 11. Automating and Debugging MEAN Applications
- Index
Product information
- Title: MEAN Web Development
- Author(s):
- Release date: September 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783983285
You might also like
book
MEAN Web Development - Second Edition
Develop your real-time MEAN application efficiently using a combination of MongoDB, Express, Angular, and Node About …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Web Application Development with MEAN
Unlock the power of the MEAN stack by creating attractive and real-world projects About This Book …
book
AngularJS: Maintaining Web Applications
Get started with speed building AngularJS applications, and scale up to a full-stack web application, using …