Mô tả

MongoDB is the hottest database solution in the tech world right now, able to power anything from your growing personal project to an enterprise infrastructure.

NodeJS focused?  Yep.  Test Driven Exercises?  Absolutely!  Advanced Features of MongooseJS?  You know it.

This course will get you up and running with MongoDB quickly, and teach you the core knowledge you need to deeply understand and build apps centered around Mongo.

We'll start by mastering the fundamentals of Mongo, including collections, validations, and common record manipulation techniques. Source code is provided for each lecture, so you will always stay up-to-date with the course pacing.  Special attention has been paid to creating reusable code that you'll be able to make use of on your own fantastic projects.

If you are new to MongoDB, or if you've been working to learn it but sometimes feel like you still don't quite 'get it', this is the MongoDB course for you! To learn MongoDB you have to understand it.

  • Learn how to use the popular MongooseJS library to interface with Mongo
  • Write tests around Mongo queries to ensure your code is working. You can reuse these tests on your own personal projects!
  • Master the process of designing NoSQL schema
  • Grasp the differences record associations and resource embedding
  • Use the advanced features of Mongoose to save development time
  • Develop apps that are fast and responsive thanks to Mongo's speed and flexibility
  • Work on either Windows or OSX
  • Master the integration of Mongo, Node, and Mocha in a modern development environment

I've built the course that I would have wanted to take when I was learning MongoDB. A course that explains the concepts and how they're implemented in the best order for you to learn and deeply understand them.


Bạn sẽ học được gì

Understand how MongoDB stores data

Gain mastery of the most popular MongoDB interface, Mongoose JS

Write efficient queries for reading data

Learn the purpose of each of Mongoose's functions

Design effective NoSQL schema with both data nesting and lookups

Yêu cầu

  • All you need is a Mac or a PC

Nội dung khoá học

13 sections

Let's Start

5 lectures
Join Our Community!
00:07
MongoDB Setup on macOS
00:25
MongoDB Setup on Windows
00:43
Using MongoDB Compass on macOS
00:24
Using MongoDB Compass on Windows
00:30

A Quick ES6 Refresher

4 lectures
A Refresher on Promises
03:24
Let's Play A Game
07:39
Winning the Game
07:16
Behind the Scenes with Promises
06:25

Core Fundamentals of MongoDB

3 lectures
Where Do We Use Mongo?
03:01
Fundamentals of MongoDB
04:13
A Last Touch of Setup
03:20

A Test Driven Experience

27 lectures
Project Overview
04:59
The Test Helper File
07:42
Mongoose Connection Helper
10:06
Mongoose Models
05:13
More on Models
06:27
The Basics of Mocha
06:03
Running Mocha Tests
06:21
Creating Model Instances
06:12
Saving Users to Mongo
07:47
Dropping Collections
04:48
Mocha's Done Callback
04:56
Mongoose's isNew Property
06:25
Default Promise Implementation
06:45
Test Setup for Finding Users
06:38
Making Mongo Queries
06:00
The ID Property - A Big Gotcha
06:24
Automating Tests with Nodemon
04:57
Finding Particular Records
05:04
Required Update for Remove Function
00:24
The Many Ways to Remove Records
09:54
Class Based Removes
05:10
More Class Based Removals
05:46
The Many Ways to Update Records
03:59
Set and Save for Updating Records
08:20
Required Fix for Update Method
00:20
Model Instance Updates
07:38
Class Based Updates
08:50

Mongo Operators

7 lectures
Required fix for Update Method
00:10
Update Operators
11:15
The Increment Update Operator
06:17
Validation of Records
05:03
Requiring Attributes on a Model
11:15
Validation With a Validator Function
06:40
Handling Failed Inserts
04:19

Handling Relational Data

10 lectures
Embedding Resources in Models
05:17
Nesting Posts on Users
05:40
Testing Subdocuments
07:29
Adding Subdocuments to Existing Records
11:27
Required Update for Remove Method
00:14
Removing Subdocuments
07:46
Virtual Types
07:59
Defining a Virtual Type
06:19
ES6 Getters
08:16
Fixing Update Tests
02:19

Thinking About Schema Design

9 lectures
Challenges of Nested Resources
05:27
Embedded Documents vs Separate Collections
07:55
BlogPosts vs Posts
03:26
Creating Associations with Refs
08:53
Test Setup for Associations
05:12
Wiring Up Has Many and Has One Relations
08:40
Promise.All for Parallel Operations
06:44
Populating Queries
11:06
Loading Deeply Nested Associations
12:12

Mongoose Middleware

5 lectures
Cleaning Up with Middleware
04:42
Dealing with Cyclic Requires
05:07
Pre-Remove Middleware
05:58
Required Pre Remove Hook Updates
00:30
Testing Pre-Remove Middleware
05:46

Handling Big Collections with Pagination

3 lectures
Skip and Limit
04:30
Writing Skip and Limit Queries
07:05
Sorting Collections
07:15

Putting Your Skills to the Test

14 lectures
Required Boilerplate and Install Update - DO NOT SKIP
00:14
Project Setup
03:15
Project Overview
05:46
First Step - Artist and Album Models
04:29
The Album Schema
07:17
The Artist Model
09:10
Finding Particular Records
05:30
FindOne vs FindById
06:29
The CreateArtist Operation
02:48
Solution to Creating Artists
03:11
Deleting Singular Records
02:21
Solution to Removing
04:20
Editing Records
02:56
How to Edit Single Artists
03:14

Hard Mode Engage

13 lectures
Minimum and Maximum Values in a Collection
05:37
Solution to Min and Max Queries
14:58
Challenge Mode - Search Query
07:34
Sorting, Limiting, and Skipping Together
13:05
Danger! Big Challenge Ahead
04:30
Filtering By Single Properties
07:22
Filtering with Multiple Props
03:30
Handling Text Search
04:50
Indexes and Text Search
10:05
Batch Updates
05:28
The Hidden 'Multi' Setting
07:05
Seeding Many Records
06:31
Counting the Result Set
04:50

MongoDB with Node and Express

33 lectures
App Overview
02:41
Designing API Routes
06:01
Project Setup
06:48
HTTP Request Methods
03:54
The Basics of Express
04:39
Express Boilerplate
04:30
Handling Requests with Express
08:12
Testing Express Apps with Mocha
07:21
Running Mocha
04:33
Project Structure
02:57
Refactoring for Controllers and Models
09:39
The Driver Model
06:51
The Create Drivers Route
03:47
The BodyParser Middleware
07:02
Testing Driver Creation
07:15
More on Testing Driver Creation
09:07
Additional Mongoose Setup
05:27
Driver Implementation
04:33
Testing Endpoints with Postman
09:14
Dev vs Test Environments
03:40
Separate Test Databases
10:33
Middlewares in Express
15:03
Handling Editing of Drivers
09:09
Testing Driver Updates
07:44
Handling Deletion of Drivers
03:05
Testing Driver Deletion
05:27
Geography with MongoDB
05:32
The GeoJSON Schema
05:41
GeoNear Queries
10:12
Testing a GeoNear Query
07:01
One Big Gotcha
04:49
Another Big Gotcha
02:56
Testing GeoQueries
03:39

Extras

1 lectures
Bonus!
00:36

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.