MongoDB in NodeJS - Inserting Data (2020) [Episode #3]

preview_player
Показать описание
In this video we go over how you can insert data into your MongoDB database. We'll also go over common MongoDB terminology such as databases, collections, documents, and schemas.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

🖥️ Source code:

🙋‍♂️ Need help? Ask in our Discord community:

💡 Have an idea for a video or course? Request it here:

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

🕐 Timestamps:
00:00 Introduction
00:25 Important Terminology
01:45 Project review
02:42 Creating our first schema
03:57 Inserting data
05:15 Requiring schema properties
07:21 Outro

#mongodb #javascript #nodejs #wornoffkeys

FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.
Рекомендации по теме
Комментарии
Автор

🔥 Get the code here:

🙋‍♂ Need help? Ask in our Discord community:
wornoffkeys.com/discord

WornOffKeys
Автор

thir course in a row... i'm probably your #1 watcher for past 3 months rs

paixaonba
Автор

Thank you for a very clear video on MongoDB.

You have a very clean coding style. It is worth emulating.

{2021-07-16}

Pareshbpatel
Автор

This is the best mongoDB tutorial series ever. 💪

josephanyim
Автор

I'm impress with how well you explain all just so shine bright for me haha

mauliadianti
Автор

these tutorials are awesome, thank you so much!

babyfox
Автор

Thank you brother this video helped me a lot, LIKE 👍

sr.eustaquio
Автор

anyone knows how to solve this issue? MongoServerError: user is not allowed to do action [insert] on [test.leads]

abrahamgriffin
Автор

im not sure what is going on but I have checked my code over and over. It is just giving me the error that it cant access mongoose before initialization. I have no idea what this means or why it is saying this.

geoffreyschuchardt
Автор

I try this example, but I got an error in the config.json file, when I start to install it in npm it didn't auto create config.json, please tell me how to build config.json to make my API work

mauliadianti
Автор

const mongoose = require(mongoose)
^

ReferenceError: Cannot access 'mongoose' before initialization

geoffreyschuchardt
Автор

Bro great video, ... and I would like to say I have some doubts. I tried it on my own in which I called the whole index function u mentioned in the video by an HTML button from a webpage when it is clicked. But I am getting an error saying "cannot access mongo without initialization" but it is okay when I am executing it directly from the terminal using node js. Please tell me why I am getting this.

saivelagala
Автор

okay yeah i'm tired, fuck this shit.

geoffreyschuchardt