O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting MEAN with Mongo, Express, Angular, and Node Video Edition

Video Description

"Looking to go full stack? Getting MEAN will take you there."
Matt Merkes, MyNeighbor

Getting MEAN teaches you how to develop web applications using the MEAN stack. First, you'll create the skeleton of a static site in Express and Node, and then push it up to a live web server. Next, add a MongoDB database and build an API before using Angular to handle data manipulation and application logic in the browser. Finally you'll add an authentication system to the application, using the whole stack. When you finish, you'll have all the skills you need to build a dynamic data-driven web application.

Traditional web dev stacks use a different programming language in every layer, resulting in a complex mashup of code and frameworks. Together, the MongoDB database, the Express and AngularJS frameworks, and Node.js constitute the MEAN stack - a powerful platform that uses only one language, top to bottom: JavaScript. Developers and businesses love it because it's scalable and cost-effective. End users love it because the apps created with it are fast and responsive. It's a win-win-win!

Inside:
  • Full-stack development using JavaScript
  • Responsive web techniques
  • Everything you need to get started with MEAN
  • Best practices for efficiency and reusability
Learners should have some web development experience. This book/course is based on MongoDB 2, Express 4, Angular 1, and Node.js 4.

Simon Holmes has been a full-stack developer since the late 1990s and runs Full Stack Training Ltd.

Fantastic explanations and up-to-date, real-world examples.
Rambabu Posa, LGL Assessment

From novice to experienced developer, all who want to use the MEAN stack will get useful advice here.
Davide Molin, CodingShack.com

A ground-up explanation of MEAN stack layers.
Andrea Tarocchi, Red Hat

NARRATED BY CHRIS DUNN

Table of Contents

  1. PART 1: SETTING THE BASELINE
    1. Chapter 1. Introducing full-stack development 00:09:28
    2. Chapter 1. Introducing Node.js: The web server/platform 00:03:56
    3. Chapter 1. Fast, efficient, and scalable 00:07:00
    4. Chapter 1. Introducing Express: The framework 00:03:55
    5. Chapter 1. Introducing MongoDB: The database 00:07:13
    6. Chapter 1. Introducing AngularJS: The front-end framework 00:07:27
    7. Chapter 1. Supporting cast 00:06:13
    8. Chapter 1. Putting it together with a practical example 00:03:32
    9. Chapter 2. Designing a MEAN stack architecture 00:07:29
    10. Chapter 2. Analytics and browser history 00:05:05
    11. Chapter 2. Designing a flexible MEAN architecture 00:08:30
    12. Chapter 2. Best practice: Build an internal API for a data layer 00:02:50
    13. Chapter 2. Planning a real application 00:08:32
    14. Chapter 2. Breaking the development into stages 00:10:32
    15. Chapter 2. Hardware architecture 00:04:05
  2. PART 2: BUILDING A NODE APPLICATION
    1. Chapter 3. Creating and setting up a MEAN project 00:09:02
    2. Chapter 3. Creating an Express project 00:06:53
    3. Chapter 3. Creating an Express project and trying it out 00:06:48
    4. Chapter 3. Modifying Express for MVC 00:10:43
    5. Chapter 3. Import Bootstrap for quick, responsive layouts 00:06:03
    6. Chapter 3. Make it live on Heroku 00:11:13
    7. Chapter 4. Building a static site with Node and Express 00:06:41
    8. Chapter 4. Building basic controllers 00:04:19
    9. Chapter 4. Creating some views 00:09:08
    10. Chapter 4. Building a template 00:07:01
    11. Chapter 4. Adding the rest of the views 00:08:30
    12. Chapter 4. Take the data out of the views and make them smarter 00:06:38
    13. Chapter 4. Dealing with complex, repeating data 00:11:10
    14. Chapter 4. The finished homepage 00:04:26
    15. Chapter 5. Building a data model with MongoDB and Mongoose 00:06:14
    16. Chapter 5. Adding a Mongoose connection to our application 00:10:27
    17. Chapter 5. Why model the data? 00:07:43
    18. Chapter 5. Defining simple Mongoose schemas 00:09:53
    19. Chapter 5. Creating more complex schemas with subdocuments 00:09:12
    20. Chapter 5. Using the MongoDB shell to create a MongoDB database and add data 00:09:21
    21. Chapter 5. Getting our database live 00:09:18
    22. Chapter 5. Making the application use the right database 00:07:26
    23. Chapter 6. Writing a REST API: Exposing the MongoDB database to the application 00:10:38
    24. Chapter 6. Setting up the API in Express 00:08:37
    25. Chapter 6. Including the model 00:03:03
    26. Chapter 6. GET methods: Reading data from MongoDB 00:10:49
    27. Chapter 6. Finding multiple documents with geospatial queries 00:09:19
    28. Chapter 6. POST methods: Adding data to MongoDB 00:07:42
    29. Chapter 6. PUT methods: Updating data in MongoDB 00:09:05
    30. Chapter 7. Consuming a REST API: Using an API from inside Express 00:05:58
    31. Chapter 7. Using lists of data from an API: The Loc8r homepage 00:07:06
    32. Chapter 7. Catching errors returned by the API 00:07:19
    33. Chapter 7. Getting single documents from an API: The Loc8r Details page 00:05:48
    34. Chapter 7. Debugging and fixing the view errors 00:06:51
    35. Chapter 7. Adding data to the database via the API: Add Loc8r reviews 00:10:23
    36. Chapter 7. Protecting data integrity with data validation 00:07:55
    37. Chapter 7. Validating in the browser with jQuery 00:03:31
  3. PART 3: ADDING A DYNAMIC FRONT END WITH ANGULAR
    1. Chapter 8. Adding Angular components to an Express application 00:07:09
    2. Chapter 8. Setting up for greatness (and JavaScript code) 00:06:02
    3. Chapter 8. Displaying and filtering the homepage list 00:08:47
    4. Chapter 8. Using Angular filters to format data 00:12:08
    5. Chapter 8. Getting data from an API 00:08:23
    6. Chapter 8. Adding HTML geolocation to find places near you 00:09:50
    7. Chapter 8. Ensuring forms work as expected 00:03:09
    8. Chapter 9. Building a single-page application with Angular: Foundations 00:06:14
    9. Chapter 9. Switching from Express routing to Angular routing 00:08:18
    10. Chapter 9. Adding the first views, controllers, and services 00:07:10
    11. Chapter 9. Controller best practice: Using the controllerAs syntax 00:08:04
    12. Chapter 9. Using filters and directives 00:04:48
    13. Chapter 9. Improving browser performance 00:04:54
    14. Chapter 9. Using UglifyJS to minify and concatenate scripts 00:06:59
    15. Chapter 10. Building an SPA with Angular: The next level 00:05:04
    16. Chapter 10. Making reusable page framework directives 00:09:59
    17. Chapter 10. Adding additional pages and dynamically injecting HTML 00:10:27
    18. Chapter 10. More complex views and routing parameters 00:06:05
    19. Chapter 10. Building the Details page view 00:04:58
    20. Chapter 10. Using AngularUI components to create a modal popup 00:10:35
    21. Chapter 10. Using the form to submit a review 00:08:39
  4. PART 4: MANAGING AUTHENTICATION AND USER SESSIONS
    1. Chapter 11. Authenticating users, managing sessions, and securing APIs 00:07:22
    2. Chapter 11. Creating a user schema for MongoDB 00:07:02
    3. Chapter 11. Generating a JSON Web Token 00:05:32
    4. Chapter 11. Creating an authentication API with Passport 00:11:05
    5. Chapter 11. Securing relevant API endpoints 00:07:36
    6. Chapter 11. Creating Angular authentication service 00:08:55
    7. Chapter 11. Creating register and login pages 00:07:46
    8. Chapter 11. Working with authentication in the Angular app 00:05:55
    9. Chapter 11. Adding user data to a review 00:06:06