Project Setup - Node.js/Express/MongoDB Course #1

  Рет қаралды 292,698

Web Dev Simplified

Web Dev Simplified

Күн бұрын

In this video we will be setting up the base of our project by:
1. Setting up Express
2. Hooking up MongoDB
3. Setting up local ENV variables
4. Creating a base layout HTML file
5. Setting up our MVC folder structure
MongoDB Atlas:
mbsy.co/mongod....
How To Install Node.js:
• Your First Node.js Web...
How To Install MongoDB:
• How To Install MongoDB...
Learn Git In 20 Minutes:
• Learn Git in 20 Minutes
Code For This Video:
github.com/Web...
Previous Video:
• MVC Explained in 4 Min...
Next Video:
• Author's Index/Create/...
Playlist:
• Full Stack Web Develop...
Twitter:
/ devsimplified
GitHub:
github.com/Web...
CodePen:
codepen.io/Web...
#Node.js #FullStack #MongoDB

Пікірлер: 670
@AhSoh7091
@AhSoh7091 5 жыл бұрын
to those error src.toString().split(NEWLINE).forEach(function (line, idx) { ^ TypeError: Cannot read property 'toString' of undefined try it require('dotenv').config(); this works for me ...
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks for posting this fix.
@ih4722
@ih4722 5 жыл бұрын
Thanks worked with me as well.
@kmparkhu
@kmparkhu 5 жыл бұрын
Thanks, this worked for me too.
@jasonmckay2769
@jasonmckay2769 5 жыл бұрын
Thanks mate! Worked like a charm.
@jasonmckay2769
@jasonmckay2769 5 жыл бұрын
if (process.env.NODE_ENV !== 'production') { require('dotenv').config(); } place that at the top of your server.js
@dotanmezushan6320
@dotanmezushan6320 3 жыл бұрын
At server.js I had to add if (process.env.NODE_ENV !== 'production') { require('dotenv').config(); } rather if (process.env.NODE_ENV !== 'production') { require('dotenv').load() } now I'm connected to mongoose and get "Connected to Mongoose" Thanks Kyle you are my best teacher !
@lfumeto2269
@lfumeto2269 3 жыл бұрын
@memmudmemmed3022
@memmudmemmed3022 11 ай бұрын
I know it's 2yrs late, but that worked for me
@johnobrienguitar
@johnobrienguitar 9 ай бұрын
thank you, this was very helpful
@brianwkinyua
@brianwkinyua 4 жыл бұрын
Awesome series! I love that you explain in detail why you are doing what you are doing in every step, including explaining the errors you will get by not taking the step correctly. Many people do not do that. Thank you for doing that.
@possibleneat5026
@possibleneat5026 5 жыл бұрын
The world need more people like you, im decided to be like you someday teachinh others for better wordl
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you! That really means a lot to me. I am sure that you will be an amazing teacher one day!
@alextheblockchaindev
@alextheblockchaindev 5 жыл бұрын
OH YEAHHH! Who else is pumped for this series? 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I know I am!
@aayushbisen89
@aayushbisen89 5 жыл бұрын
I am!
@chrisjasonmcqueen
@chrisjasonmcqueen 5 жыл бұрын
such an epic video!!
@sicfxmusic
@sicfxmusic 3 жыл бұрын
I'm late but YEAAAAASSSS I AM!!
@skillhustle1
@skillhustle1 5 жыл бұрын
Just wow. Amazing amazing amazing! You simply explain complex things. Eagerly waited for the entire series including session, cookies, authentication, server side and client side validation on Express.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I hope you enjoy the rest!
@JUnderwoodViolin
@JUnderwoodViolin 4 жыл бұрын
I feel like I could watch this video 50 times over and just keep learning something new, amazing job, Kyle!
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Thank you!
@theDarweesh
@theDarweesh 4 жыл бұрын
Great work mate #WDS, Keep it up If you're facing an error with dotenv at 16:40, change require('dotenv').load() to require('dotenv').config()
@allaouaboudriou2527
@allaouaboudriou2527 3 жыл бұрын
thank u very much man
@tamlongnguyen6604
@tamlongnguyen6604 3 жыл бұрын
thank so so much
@Dnavashen
@Dnavashen 3 жыл бұрын
thanks a lot!!!
@gogutans
@gogutans 3 жыл бұрын
thank you!
@thevanted99
@thevanted99 3 жыл бұрын
thanks man, helped a lot
@dottorcosmic
@dottorcosmic 8 ай бұрын
Learned more with you in 5 mins than in a week with everyone else
@mcvgs1780
@mcvgs1780 4 жыл бұрын
I came from Laravel so all the MVC stuff was easy to understand and now I'm starting to learn web development in node. Thanks Kyle
@beksaylor
@beksaylor Жыл бұрын
@Kyle you are the GOAT of dev education. I don't know how you do it but you put everything so clearly together. I even understand Express now as well because of another on of your videos. I would love your javascript , but I'm a broke student...But I loved your Learn CSS course. Thanks for all the great content!!
@gello95
@gello95 3 жыл бұрын
Just came from the videos on how the backend works, what is REST, & MVC explained. I’m loving how well put these explanations are!
@LucasErkana
@LucasErkana Жыл бұрын
Kyle your the GOAT. Absolutely amazing and well detailed.
@agnieszkalewandowska9896
@agnieszkalewandowska9896 5 жыл бұрын
Learning to build websites has never been so much easy and fun. Thank you, Kyle! :D
@marekbeck9012
@marekbeck9012 3 жыл бұрын
One of my favorite moments in the videos is when I spot an error and I'm waiting to see you get stuck and frustrated (like I always do), but then you casually fix it in 2 seconds :D
@o1techacademy
@o1techacademy 2 жыл бұрын
You finished me with this awesome video. I have to re watch it again and again until I absolve all of its value.
@ricardomlourenco
@ricardomlourenco 3 жыл бұрын
Thank you very much dude! Instead of going to the tutorial hell, I'm learning nodejs with your pragmatic and very well explained courses! Thank you!
@vijayraghunathkm197
@vijayraghunathkm197 3 жыл бұрын
Following you for the past month.. wat a mannnnn you are.. HATS OFF
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hey Vijay! Are you a 2021-graduate? Would you be interested in exploring job opportunities in web development currently?
@tphantom581
@tphantom581 2 жыл бұрын
That's great Kyle!, Thank you! For those who gets error with 'dotenv' dependencies from heroku --tail. Try to move "dotenv" from "devDependencies" into "dependencies" in package.json.
@emilheg8673
@emilheg8673 Жыл бұрын
Thank you - This worked for me!
@brianmcgaw5275
@brianmcgaw5275 Жыл бұрын
Same! Thanks for the tip
@aubz9924
@aubz9924 4 жыл бұрын
For those for whom the `require('dotenv').parse()` related error persists despite changing it to `require('dotenv').config()`, try deleting your .env file and creating it again - this worked for me.
@miralpankhania3983
@miralpankhania3983 4 жыл бұрын
It also worked for me!!!! Almost tried everything and at last tried this solution and it actually worked. Thank you so much. however i did not understand the reason.
@w0zz0r
@w0zz0r 4 жыл бұрын
Thank you so much! Do you know why this works?
@kaustubhdubey2809
@kaustubhdubey2809 3 жыл бұрын
Thanks man really appreciated it!!!!
@sauravkumarsonu829
@sauravkumarsonu829 4 жыл бұрын
I have been a great fear about full stack development and you just made it's so easy 🙏🙏🙏
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hey Saurav! Are you a fresher in web development and open to job opportunities in full-stack development?
@MHY-bu1hy
@MHY-bu1hy 11 ай бұрын
just a small note in this fantastic lecture! I think it is in Feb 2024 require('dotenv').config() instead of .load() or .parse() at timestamp 16:35
@yukinoshitayukino9185
@yukinoshitayukino9185 10 ай бұрын
tysm
@DevCops
@DevCops 5 жыл бұрын
Just another Error Correction for everyone, the .load() has been removed from dotenv , rather .config() has replaced it.
@rogerccaqp
@rogerccaqp 5 жыл бұрын
thks u save me minutes
@deepak10995
@deepak10995 4 жыл бұрын
really bro...i've been searching for this since 2 hrs...trying to remove the error...thanks alot bro
@duke_hammersmith_iii
@duke_hammersmith_iii 4 жыл бұрын
@@deepak10995 Thank you!
@youssefabdullah3187
@youssefabdullah3187 4 жыл бұрын
oh Thanks from 2021
@lazzyboii2573
@lazzyboii2573 3 жыл бұрын
I was trying to fix it for a long time it helped me thanks!
@balloney2175
@balloney2175 Жыл бұрын
I've done heroku years back then I forgot... wasted skill. Many thanks for your video. I envy your so cool hair.
@robertpainter9820
@robertpainter9820 2 жыл бұрын
Thanks for this. Just followed this all the way through and it's still applicable bar a few small changes that were fairly easy to remedy. I see the require('dotenv').config() is in the comments already. The mongo db atlas set up has changed ... it asked for an IP address but you can put 0.0.0.0/0 and create a cluster. Then when you connect you get the "connect to app" box shown in the video from which you can grab the connection string.
@BluePhoenixGames1
@BluePhoenixGames1 5 жыл бұрын
Really well put together! It's nice with a series too that combine several technologies into a more complete project
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks! I am glad you are enjoying it.
@Loys2020
@Loys2020 3 жыл бұрын
Awesome video, bro! You go straight to the point. Very clean code and minimal code to deploy the application, it's a really good first video tutorial! Thank you a lot.
@parasarora5869
@parasarora5869 5 жыл бұрын
amazing video. I really like how you define the production part. That really clears the confusion when it comes to deployment. Thank you very much 😃
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I'm glad you enjoyed it. I know when I was first learning web development the process of deployment and what to do for production really confused me, so I wanted to cover these topics at the very beginning of the project.
@parasarora5869
@parasarora5869 5 жыл бұрын
@@WebDevSimplified same problem i am facing but thanks to you i am more confident 😄
@angiedale3647
@angiedale3647 5 жыл бұрын
simply amazed of the simplicity and your explanation
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you! I am really glad I could help.
@Will-le8yj
@Will-le8yj 2 жыл бұрын
23:04 "and thats all it takes" LOL he explained in 23 mins but i took 2 hours even with his tutorial lmfao
@aniruddha414
@aniruddha414 5 жыл бұрын
Thank you so much. I've been learning a lot throught your videos. Also the free options for hosting are a great bonus. Really appreciate all your content. Thank you again!
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hello Aniruddha! Are you a 2021-passout and looking for job opportunities in web development currently?
@randolphschreiner4479
@randolphschreiner4479 4 жыл бұрын
Learned tons, still relevant, and operational in 2021.
@immortal7167
@immortal7167 4 жыл бұрын
For anyone facing issues with Heroku deployment, check the Error Log via the CLI using the following command ~ heroku logs --tail . Step 1 : Check Your DATABASE_URL, it would be correct but just be sure, Step 2 : Check your start script as Heroku runs in a production environment by default so it does not install the dev dependencies. make sure the following is the way your start script is setup. "scripts": { "start": "node server.js", "DevStart" : "nodemon server.js" } Step 3 : is the error log says something like 2020-12-04T08:35:25.386313+00:00 app[web.1]: throw err; 2020-12-04T08:35:25.386314+00:00 app[web.1]: ^ 2020-12-04T08:35:25.386314+00:00 app[web.1]: 2020-12-04T08:35:25.386314+00:00 app[web.1]: Error: Cannot find module 'mongoose' Just Copy these from devDependencies to dependencies in your package.json file. I made this comment in hopes to help you avoid the time it took me to debug this issue.
@devviz
@devviz 2 жыл бұрын
very detailed solution, thanks man👌🏻
@riyakumari8377
@riyakumari8377 2 жыл бұрын
can u tell what should be the DATABASE_URI is it from mongodb atlas url?
@navdeeppaliwal3292
@navdeeppaliwal3292 5 жыл бұрын
Very straight forward tutorials nothing timepass must recommended.
@o1techacademy
@o1techacademy 2 жыл бұрын
Thank you very much Kyle. You tutorials keep making me a better developer.
@DavidCervantes.
@DavidCervantes. 4 жыл бұрын
Incredible course! Greetings from Argentina.
@baraal-jawarneh3852
@baraal-jawarneh3852 4 жыл бұрын
You have the best way to explain each step, keep going 💜
@alaindimabuyo
@alaindimabuyo 5 жыл бұрын
these are the types of videos that i want to watch
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I'm glad you enjoyed it.
@mykalimba
@mykalimba 5 жыл бұрын
I just realized that you sound a bit like Jared in HBO's Silicon Valley, as if he took on the role of coding, like Dinesh and Gilfoyle. I can't unhear it!
@jamesboone1995
@jamesboone1995 4 жыл бұрын
for anyone doing this getting an error with "git push heroku master" "error: src refspec master does not match any error: failed to push some refs to" you need to change the command to "git push heroku main"
@theenlightened5786
@theenlightened5786 4 жыл бұрын
Thank you my friend.
@hootmx198
@hootmx198 4 жыл бұрын
^ This will fix it. Github changed the primary branch name from master to main recently so that is why.
@staybalancedn
@staybalancedn 3 жыл бұрын
Thank you James.
@kritmok1875
@kritmok1875 3 жыл бұрын
Thanks a lot!
@mys8091
@mys8091 3 жыл бұрын
OMG i love you
@MAALTECH
@MAALTECH 2 жыл бұрын
Got it working. had to add .config() as suggested but also had to grant the proper permissions on installation then received the generated URL from compass. Thank you. Ensure Proper Permissions if compass not generate code under local (left sidebar). Upate .env file DATABASE_URL= PATH_TO_MONGO_COMPASS_GENERATED_CODE.
@rushabhnaik6806
@rushabhnaik6806 4 жыл бұрын
Too good man!!..Simply amazing Understood each and every step!
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hey Rushabh! Have you completed many tutorials in web dev such as this one? Are you a 2021-passout and open to job opportunities in web development currently?
@dhruvikbarvaliya2507
@dhruvikbarvaliya2507 3 жыл бұрын
Very nice 👍👍
@liondeluxe3834
@liondeluxe3834 4 жыл бұрын
Am I the only one that feels like learning Node.js with the main modules feels like learning a new language
@brightfuture2174
@brightfuture2174 3 жыл бұрын
We need tutorial like this like water
@bountyhunter96
@bountyhunter96 Жыл бұрын
It's impossible to start a Heroku App without credit card right?
@Orenrs
@Orenrs 3 жыл бұрын
16:46 - Not getting the console log of "Connected to Mongoose" - any advice?
@DevCops
@DevCops 5 жыл бұрын
Mann I just know one thing You're super Awesome!!!!!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks!
@leg3ndtariq
@leg3ndtariq 5 жыл бұрын
I have a question, at 8:15 you are writing : 🔰 app.use('/', indexRouter ); what is this slash purpose here ? We already said in the index file in router folder that if any request comes from / folder then send "Hello world". 🔰 then why do we need to write again "/" in app.use method.. what is it actually doing here ?
@johnparungao1354
@johnparungao1354 4 жыл бұрын
First video watched, instant sub :D
@CL-ki7se
@CL-ki7se 3 жыл бұрын
thanks big time man. really straightforward explaination and I actually learned something.
@tag_of_frank
@tag_of_frank 2 жыл бұрын
Can you explain why we use the body variable at 11:15 where is body variable defined in expressLayouts? Because if we are sending like json we would put the json variable name but body is not explicitly defined anywhere
@Sammorris207
@Sammorris207 3 жыл бұрын
thanks kyle for these videos!
@aristotleanderson930
@aristotleanderson930 4 жыл бұрын
Ty for making web dev simple!
@WhileSilent
@WhileSilent 7 ай бұрын
Personal Use Initialize Server 0:00 - 5:30 Initialize Controller/Index/Route 5:30 - 9:30 Initialize View 9:30 - 12:00 Initialize Model/Database 12:00 - 16:52 Initialize Git/Version Control 16:52 - 19:13
@JasonLayton
@JasonLayton 4 жыл бұрын
I have been able to follow along with you, but I don't really understand it. Is this a good way to learn? Will it eventually start to make sense?
@piyush4338
@piyush4338 3 жыл бұрын
For those who are unable to host on Heroku instead of following all the steps. Try moving dotenv to dependencies from dev dependencies by running the command --> npm install dotenv --save-prod Hopes this will help!!
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hey Piyush! Thanks for the tip! Are you a 2021-passout and interested to explore job opportunities in web development currently ?
@shristi9149
@shristi9149 3 жыл бұрын
Hi Piyush, I did as you've mentioned but it still doesn't work ... can you tell me why..?
@riyakumari8377
@riyakumari8377 2 жыл бұрын
@@shristi9149 do u find any solution?
@Javascript1
@Javascript1 4 жыл бұрын
GENIUS!! thank for this video
@beedleChompz44
@beedleChompz44 3 жыл бұрын
supremely helpful
@SR-we1vl
@SR-we1vl 4 жыл бұрын
Absolutely Great!
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hey Saurav! Are you a 2021-passout and open to job opportunities in web development currently?
@praff5308
@praff5308 5 жыл бұрын
Big fan of your content WDS :thumbsup: Keep it up!
@overfloat.
@overfloat. 4 жыл бұрын
Why didn't you use google app engine?
@EssensOrAccidens
@EssensOrAccidens 3 жыл бұрын
Word to others: I struggled for a long time to deploy this app to Heroku. Eventually I realized that no buildpack was in use. To find if you are in this situation, run: >heroku buildpacks To use the official buildpack, run: >heroku buildpacks:set heroku/nodejs Once I did this, the app worked as expected.
@JustCoNa
@JustCoNa 2 жыл бұрын
Thank you so much dude, could not figure out why it wasn't pushing for the life of me.
@stevendornan7979
@stevendornan7979 5 жыл бұрын
Amazing tutorial, very clear at explaining things. I Just subbed!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you!
@shehzadkhan1001
@shehzadkhan1001 3 жыл бұрын
noob question here... 0:20 ... is it necessary to have those folders there (github and open editors)? how to get the github folder there?
@devrxt10
@devrxt10 5 жыл бұрын
Simply Great
@stachowi
@stachowi 5 жыл бұрын
amazing tutorial, great job explaining the details. Just subbed!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you!
@jornblaedelgarbosa8458
@jornblaedelgarbosa8458 3 жыл бұрын
Hello I'm getting this error in 11:27 I replayed everything followed everything but there is always this error Error: No default engine was specified and no extension was provided.
@jornblaedelgarbosa8458
@jornblaedelgarbosa8458 3 жыл бұрын
Nevermind I found the cause and it was that I put 'view-engine' instead of 'view engine'
@MrFiendyBob
@MrFiendyBob 4 жыл бұрын
Error: No default engine was specified and no extension was provided. Getting this error and im very confused. Trying to make a login in page but data is stored in MongoDB
@ChimpDeamon
@ChimpDeamon 3 жыл бұрын
Hello Kyle, at 20:57 where in your video you refreshed the page and it showed an error when I refreshed my own site it displayed the content fine, (without me adding the DTABASE_URL value in the Heroku setting). I don't know why. Does anyone know how to explain?
@prajwalm.s7976
@prajwalm.s7976 Жыл бұрын
let lines = src.toString() ^ TypeError: Cannot read properties of undefined (reading 'toString') I am getting this error 16:45
@idade7535
@idade7535 Ай бұрын
since you are using MVC here , is route same as controller?
@bimbabbli1360
@bimbabbli1360 9 ай бұрын
Im not in need for my app to be accesable on the internet, I just need to be able to run it to show my teacher it. Do i still need the heroku part or can i ignore it. Very helpfull series thx!
@adarmaori9853
@adarmaori9853 4 жыл бұрын
Do you recommend using this folder as a boilerplate server for every website? I'm trying to think about why not but you'd probably know
@umaedu3097
@umaedu3097 Жыл бұрын
question: If i want to upload my site on a webhost provider do i still need the mongo db and git settings to be made? thank you in advance
@cj-lc4vk
@cj-lc4vk 4 жыл бұрын
Why does heroku still showing error even though i connected it to mongodb atlas? Please help
@SharkMochi
@SharkMochi Жыл бұрын
How can I hook this up to vercel instead of heroku? Heroku is no longer free.
@AnkurSingh-mk9rc
@AnkurSingh-mk9rc 4 жыл бұрын
If you are having error about connecting to mongoose then open window power shell(admin) , type mongod , and then save the code , it would work
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hello Ankur! Are you a 2021-passout and looking out for full-time positions in web development?
@raphaellaport8620
@raphaellaport8620 2 жыл бұрын
Hello! In 11:23, how inside our index.js when we put the res.render(index) understand that its getting from views/layouts/layouts.ejs ?
@harunonur3371
@harunonur3371 3 жыл бұрын
i am getting a problem here 11:20 Error: Failed to lookup view "index" in views directory "C:\Users\Casper\Desktop\GitHub/views" How can i fix it ?
@surfinbird71
@surfinbird71 4 жыл бұрын
Those last 3 minutes :O
@ArmanKhan-bz7vu
@ArmanKhan-bz7vu 5 жыл бұрын
You're Best :)
@leahj6214
@leahj6214 5 жыл бұрын
Enjoying this course so far--really helping to clear some things up for me. Just out of curiosity--is there a reason you're using EJS over Handlebars? I'm in a boot camp and they're teaching us Handlebars so I was just wondering the difference/why you picked that one. Thanks!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I choose EJS since I think it is most similar to HTML so it would be most familiar to people that have never used a templating language before. You can use whichever language you prefer.
@leahj6214
@leahj6214 5 жыл бұрын
@@WebDevSimplified Thanks for the clarification!
@Orenrs
@Orenrs 3 жыл бұрын
16:30, trying to save after require('dotenv').parse(); and get an error - any advice?
@FredWheezy
@FredWheezy Жыл бұрын
someone please help me error (node:17640) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version (Use `node --trace-warnings ...` to show where the warning was created)
@danielmamnev6836
@danielmamnev6836 4 жыл бұрын
I am getting an Internal Server Error on my heroku app and I think it might have something to do with my mongodb. Everything works fine locally at this point but on heroku it does not. I think it may be because atlas cluster connection string is requiring a dbname and this video automatically shows the the dbname to be test. What should i do? I tried making the dbname 'test' in the connection string and it didnt help. Any help would be appreciated - thank you.
@raosezar889
@raosezar889 4 жыл бұрын
??could you find any solution
@davidschwartz2485
@davidschwartz2485 5 жыл бұрын
Everything is great until i try to deploy to heroku. i keep getting "application error". i have gone over everything 3 times and built the database on cloud atlas (i also dont have the option to see a free tier). frustrated because everything else is working perfectly. its a great set of videos. any help would be great if possible
@electrotsmishar
@electrotsmishar 4 жыл бұрын
actually you need to set the environment variables
@spectreross3693
@spectreross3693 5 жыл бұрын
bro you are so good. thanks for teaching us.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks. I'm glad I could help.
@spectreross3693
@spectreross3693 5 жыл бұрын
@@WebDevSimplified im moving from laravel + mysql to node + mongo but im struggling with mongo because i dont know how to do relationships and joins.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
@@spectreross3693 Mongo isn't really designed to do super intense relationships and joins. In this series we do cover how to setup a basic join relationship, but in general I prefer to use traditional relational databases such as MySQL when creating a project.
@spectreross3693
@spectreross3693 5 жыл бұрын
@@WebDevSimplified what is the best package for RDBMS? thank you. you explain things so well.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
@@spectreross3693 Depends on what you are using. I would just do a google search since this stuff changes frequently.
@mahendrakergaurav7760
@mahendrakergaurav7760 Жыл бұрын
Thanks, you helped a lot
@efisirify
@efisirify 2 жыл бұрын
Hey Kyle. Thank you so much for this great tutorial. Is ejs is solving the same issues the font end framework (react, angular, etc) solve ? Do you have a full stack tutorial corporate node.js with react for the front? Thanks!
@MonsterFishKeepersPH
@MonsterFishKeepersPH 3 жыл бұрын
also why does my printer keep popping up when I log in to heroku on my CLI or if my terminal is expecting to open browser it opens the printer instead
@NTY_17
@NTY_17 4 жыл бұрын
Your content and coding style looks like traversy media
@houssemkhi5036
@houssemkhi5036 4 жыл бұрын
very useful thank u so much dude
@ebrahemluhar4999
@ebrahemluhar4999 5 жыл бұрын
Nice one!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks!
@lloyd_jvr9152
@lloyd_jvr9152 4 жыл бұрын
Error: 'The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.' Fix: require('dotenv').config({ path: '.env' })
@houssemkhi5036
@houssemkhi5036 4 жыл бұрын
i got the same error but even i ve replaced it the error still occuring what should i do
@houssemkhi5036
@houssemkhi5036 4 жыл бұрын
it hasn t been fixed for me
@palaktiwari4376
@palaktiwari4376 4 жыл бұрын
@@houssemkhi5036 in place of DATABASE_URL use mongodb://localhost/mybry
@doplerfish
@doplerfish 3 жыл бұрын
make sure your .env file name is '.env' and not just 'env' (dot in the beginning)
@Mila-andforwhat
@Mila-andforwhat 4 жыл бұрын
On minute 12:27, what combination of keys do you use to go back to bash?
@anjofamini5697
@anjofamini5697 4 жыл бұрын
amazing! thanks men
@faszinationfliegen
@faszinationfliegen 3 жыл бұрын
19:15 Why isn't there a public and models folder pushed to Git hub? Thank you in advance. Your videos are great!
@Ulyzses
@Ulyzses 5 жыл бұрын
Might sound like a stupid question but how do you already have Github in the Explorer upon start up of VSC?
@m.ahsani0076
@m.ahsani0076 10 ай бұрын
we can not see the commands that you write in terminal because of contrroler bar of youtube player
Author's Index/Create/New Routes - Node.js/Express/MongoDB Course #2
34:17
Web Dev Simplified
Рет қаралды 116 М.
Learn Express JS In 35 Minutes
36:03
Web Dev Simplified
Рет қаралды 890 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
MVC Explained in 4 Minutes
4:13
Web Dev Simplified
Рет қаралды 1 МЛН
MongoDB Crash Course
29:59
Web Dev Simplified
Рет қаралды 744 М.
This CSS Property Replaces Hundreds of Lines of Code
6:36
Web Dev Simplified
Рет қаралды 90 М.
Build A Restful Api With Node.js Express & MongoDB | Rest Api Tutorial
53:55
Build A REST API With Node.js, Express, & MongoDB - Quick
28:56
Web Dev Simplified
Рет қаралды 857 М.
The CSS Display Property is Changing Forever
15:20
Web Dev Simplified
Рет қаралды 89 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 450 М.