MongoDB for MEAN Stack Developers
1h 31mIntermediate2019-04-29
Authors

Alexander Zanfir
President of SocialPlay Inc.
Course details
MEAN combines MongoDB, Express.js, Angular, and Node.js into a single, full-stack solution for JavaScript development. In this project-based course, instructor Alexander Zanfir focuses on the M in the MEAN stack, showing how to persist data using a simple discussion board project. Learn how to create a form for users to post topics and replies, process the submissions on the back end, and store and display the data. Alexander also demonstrates how to associate users with posts. These techniques can be reused and recombined in your own MEAN-based web applications.
Learning objectives
Installing and setting up your MEAN toolset
Making an Angular post form
Sending posts
Displaying messages
Saving users with Mongo
Associating users with posts
Creating your first aggregate
Learning objectives
Installing and setting up your MEAN toolset
Making an Angular post form
Sending posts
Displaying messages
Saving users with Mongo
Associating users with posts
Creating your first aggregate
Skills covered
Express.jsMongoDBAngularNode.jsDatabase DevelopmentDatabase ManagementPersonaOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - MongoDB for MEAN stack developers
- 02 - What are you going to build
- 03 - What is the MEAN stack and why use it
1. Setup
- 04 - Install MongoDB
- 05 - Set up an app with angular CLI
- 06 - Install Angular Materials
2. Message Posting
- 07 - Make an Angular post form
- 08 - Create a post endpoint with Express
- 09 - Send a post from Angular to the endpoint
- 10 - Save to MongoDB from the endpoint
3. Display Messages
- 11 - Create a message list query with MongoDB
- 12 - Create a message list endpoint with Express
- 13 - Requesting a message list in Angular
- 14 - Creating a message list view in Angular
4. User Messages
- 15 - Updating the message post form
- 16 - Save a user with MongoDB
- 17 - Setting up mongoose
- 18 - Schemas, models, and saving with mongoose
- 19 - Finding with mongoose
- 20 - Associate a user with a post when making a post
5. Aggregates
- 21 - Creating your first aggregate
- 22 - Using $match to get a single user
Conclusion
- 23 - Next steps
Related courses
- Building a Website with Node.js and Express.js
- MERN Essential Training
- Learning Full-Stack JavaScript Development: MongoDB, Node, and React
- Building RESTful APIs with Node.js and Express
- React: Creating and Hosting a Full-Stack Site (2022)
- Learning Next.js (2022)
- Express Essentials: Build Powerful Web Apps with Node.js
- MERN Essential Training (2020)