Thank you very much for sharing this video. At one point I said to myself "if this guy can teach so much in 20 minutes, imagine what he can do in one hour.." then I looked up the time and actually 55 minutes had passed. You are a great teacher! I can't stand one hour of university class, but your video was just enjoyable, engaging and with a valuable content! I would never skip one of your classes if you were my teacher hahaha Thanks again! Keep up the great work!
I realized, what I really like about your videos is how you build this up layer by layer. Testing functionality as a concept then breaking it apart to make it more "production-ready". Thank you very much!
Kyle! You're my favorite teacher for programming. I've been watching you for more than two years now and I can't thank enough for all the things you taught me. Your videos are really a treasure. Your soothing voice and good looks make it even more fun. Kyle, you inspired me so much, I recently decided to become a professional developer. Thank you for all your work, your high quality teaching and videos!
I have never finished a full tutorial building a complete project until this one! Wow so helpful and helped me understand a bit more of how to build something more full-stack! Thank you so much!!! Hope to see more!!!!
For those having an error "marked is not a function" in the end of the tutorial, the package updated. use: marked.parse(this.markdown) instead of marked(this.markdown)
actually when i am connecting my data base mongodb it is showing this error can you help... const serverSelectionError = new ServerSelectionError(); ^ MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
@@tusharguys1234 Have you downloaded and installed MongoDB on your machine? If not, first go to their website and do so. (also, make sure the service is running)
20 minutes into the video, I decided I needed to show my gratitude for your awesome material, so I went to your Patreon and became an "Investor" $20 monthly. I already bought your React course. Keep up the great work, Kyle! I love your teaching style and professionalism.
@@WebDevSimplified Hi Kyle, this is a really great tutorial. I'm really learning a lot. I'm stuck though. I get an error after writing this code : { %>
I get an error... articles.forEach is not a function. Is there a fix for this?
@@KevohYout Hi, I haven't tested it, but try this: { %>
. What I've changed here is: . forEach(articles => { to forEach(article => { and to . You see, *article* there is referring an individual article in the list of *articles* that we're looping through. I hope that makes sense :)
much better understanding watching it all come together, i thought i was looking for node js tutorials but now see this is actually what i need. Awesome , great work
Thanks Kyle! You really made my day by creating such well-explained tutorial, and I learn a lot from you and the comments. Really appreciate your works!
solved - TypeError : marked is not a function , solution - const {marked} = require("marked") in article.js file. I have completed the project. Thank you for sharing your knowledge.
This line for using marked library should be change to if(this.markdown) { this.sanitizedHtml = dompurify.sanitize(marked.parse(this.markdown)) } I just used parse method of marked
I have an error somewhere at 33:00, basically I get MongooseServerSelectionError: connect ECONNREFUSED ::1:27017, and this happends after i fill out the form and click save, I googled on stack overflow but couldnt find the solution if anyone knows or encounterd the same error and solved it please help
Kyle, you are a diamond. I study code 7 months, and thanks to you i can make full-stack websites. My goal is to study 5 months more, about 6-7 hours every day as i do now. Do you believe it would pe possible for me to find a remote country job as my first if I have a super portfolio and i preper like crazy for interviews?
if you're from the future and struggling with the res.body... part, do not despair. Just change it to res.req.body... Also, npm install body-parser, as express doesn't include it by default anymore.
i was just wondering if installing body-parser was going to do the trick to resolve my app crashing on POST (i couldn't determine which body parser was deprecated). thank you for this comment!!
@@shelbytalbert6059 That's why reading documentation is important and why every tutorial should come with a disclaimer that it could be outdated the moment it's uploaded. Glad I could help!
Thank you so much for the tutorial. That was exactly what i need to enhance my skills. Please how can i contribute financially ? But i'm getting an error when i'm trying to connect to the database...
Got the solution...!! You need to Install this plugin in your VS Code as it doesn't understands embedded javascript(ejs) by default. marketplace.visualstudio.com/items?itemName=DigitalBrainstem.javascript-ejs-support
When I try to call 'articles.createdAt.toLocaleDateString()' (or 'post.date.toLocaleDateString()' for my implementation) in my .ejs file, it says: 'post.date.toLocaleDateString is not a function'. Could you help me figure this out?
FYI - I suspect it is a version difference with dompurify or jsdom because at the end my forms wouldn't submit at all until I copied your 'nodemodules' folder into my project directory and removed the existing folder
Before saying, HUGE thank you for the informative video! I got a question from your video when you wrote an articleSchema.pre function on article.js, why do we need to write a function parameter with traditional way of writing function like "function ()" instead of arrow function? I changed it to arrow function but it didn't work and showed me an error... I feel like this is a question that people commonly faced but I am pretty new to web development😬
Normal functions and arrow functions treat the this keyword differently, that's why. Kyle explains that difference in his video on arrow functions, which should help you
i did not understand the first part of this video .i'm doing the same as you did in terminal for creating server but my one's shows error .can you please help me with that
When ever I write a long paragraph and I want to make a new line it doesn't show there is a new line. The paragraph is simply a long one paragraph without any new line. How can I make a new line when I post the article?
Great teaching skills keep it up, Sir i have created a blog that has four categories i need help and direction how to write logic that will populate/display posts from all the categories to one single page which views/index.ejs
been trying to figure this out all morning no help anywhere. I did a console.log(articles.title) and it just shows undefined. My code is exactly like yours dot to dot and it's still isn't working. I do not know what else to do.
hey anyone get this error: const serverSelectionError = new ServerSelectionError(); Edit: found the issue, have to download MongoDB for windows and start the service from services and then the connection will work.
I know Im randomly asking but does any of you know a way to get back into an Instagram account? I was dumb lost my account password. I appreciate any assistance you can give me.
@Atticus Colten i really appreciate your reply. I found the site thru google and Im trying it out atm. Looks like it's gonna take quite some time so I will reply here later with my results.
@@UniversalKnowledge01 check your connection string and make sure you copied it properly. Also if the connection is refused make sure you are not already connected on the same port elsewhere.
hello .. new Article() generates whitespace to teaxtArea .. do you know whats going on? EDIT: I've figured it out. It was whitespace in .ejs template. The needs to be right between tags without whitespace ._.
If you have error message during the tutorial maybe it's because you haven't installed MongoDB. mongoose doesn't do it. Kyle did a video about this : ua-cam.com/video/wcx3f0eUiAw/v-deo.html
Hi Kyle. This is honestly a fantastic video and it has taught me a lot as a junior developer. However, I don't if I missed something, but the way this blog is designed, wouldn't it just allow anyone to add, edit or delete the blog posts, or do they remain somehow private for you to manage and others to only read?
Hey, it's great but I got stuck at 35:20 when it needs to show the PARAMS.ID, I am unable to get the id. Does it need to install something extras? Please Help.
@@JuandeLellis I got the solution...We need to put underscore before id because in mongo db ID is stored as a "_id" Just edit this line. ${ article._id } in place of ${ article.id }
@@laplasparadox3138 I got the solution...We need to put underscore before id because in mongo db ID is stored as a "_id" Just edit this line. ${ article._id } in place of ${ article.id }
Hey Did your error resolve. I am also getting a error like (const serverSelectionError = new ServerSelectionError(); ). Not able to resolve it. Can you help me.
yoo i cannot get past about 22:00 when we start using mongodb - tried like 10 different avenues and got nothing any suggestions?? (Need monogodb installation help)
I appreciate the effort you put into your tutorials, thanks for the information. Unfortunately I find the content hard to take in because it's run thru very quickly without explanation. My goal with completing this tutorial was to completely build it out and then break it into segments so that I could then dive in to deeply understand the concepts and build upon that. But I find it very difficult to take this approach with this one. Either way great stuff man and thank you!
I get an error when adding this to my _form_fields input field -- value="" ReferenceError: C:\Users\mshay\Documents\College 2020\Node Sites\api builds\blog\views\articles ew.ejs:19. It doesn't seem to like this, either:
Fantastic tutorial! Works great in development Anyone else getting an "Unhandled Promise RejectionWarning " though? I've been trying to deploy it through Heroku - added try/catches to all the async/await functions but still the error persists
Thanks a lot for sharing knowledge. Just two things : * 27:45 : You don't need the ./ then ../ to access to the parent directory. Just ../models/article * When you want to pre populate fields, you can just use { article } instead of { article: article } using object destructuring
Hey Kyle, Thanks for the great video. I got stuck at about 34:10 because I didn't realize I needed to install the mongodb server program on my system (mongoose added to the app at 24:10). Finally figured it out but for future watchers inserting a comment at that point might be helpful. Cheers :)
Absolutely fantastic video, I was having an issue with markdown and sanitization on a MERN stack project I'm working on and this instantly alleviated my suffering! Side note, a great video idea (that isn't really out there at the moment) would be this same node/express backend but swapping out EJS with React, so essentially a MERN structured blog. Anyways, thanks again!!!
I just completed this course, but maybe something has changed with packages, because I am getting an error of "unhandlledPromiseRejectionWarning"....not sure how to troubleshoot. Any advice would be much appreciated!
Thanks you so much everything works perfectly and this was an amazing deep dive into making me feel like I actually have a handle on all of the GET PUT POST ect. I knew almost nothing before watching this video about requests and working with ejs but with this video I was able really understand what was going on! Keep up the good work! Thanks a lot!
So i've just gotten to around 36:40 where he adds the redirect to the start if the ID is wrong. But mine just keeps loading. I also get this error message UnhandledPromiseRejectionWarning: Unhandled promise rejection. I've also noticed that when he goes to create a new article his address is localhost:5000/articles where mine is localhost:5000/articles/new and I'm wondering if I've missed something
The error appears if your id in your URL is not 24 characters long. Just replace some numbers, if your id is 60849ff628cdd03218b58b0c change it to 60849ff628cdd03218b50000
For anyone getting a "Cannot /DELETE" error, check every single line of your code. There's a spelling mistake somewhere. My error was typing ':/id' instead of '/:id' For anyone getting errors with MongoDB, make sure you actually install MongoDB. I didn't realize you needed to do that AND install mongoose 😅
The shear amount of "developers" in this comments section that expect someone to just solve their problem for them with little to no research or effort on their end is exhausting. You want to be a developer? This is part of being a developer. You are a problem solver. Start learning how to problem solve or your career as a developer is going to non existent. It's one thing to ask for help after you've spent hours upon hours researching on your own and trying out possible solutions. Its quite another to simply beg strangers online to handle your work for you with no effort on your end. The reality is that if your doing this, and this is your go to mentality - you are not learning anything anyways aside from how to type quicker and anyone dumb enough to hire you is going to be incredibly disappointed.
let me join in the accolades here ... #1 I HAVE NO IDEA what you're doing but I am confident that I will understand it in time, because it's all laid out. That's the way I felt about learning javascript and html, once I did a few lessons, I went - OH- THIS IS SUPER EASY! Thank you to the people who invented javascript etc, because all I have to do is learn the syntax🌺🌺🌺 anyone who is just starting out, don't let it get you down or think you're taking too long to learn something. Teachers like him care about you and are here to show you the way 🏆I didn't know a lick of javascript/html/css a few months ago, kudos to wonderful teachers
Thank you very much for sharing this video. At one point I said to myself "if this guy can teach so much in 20 minutes, imagine what he can do in one hour.." then I looked up the time and actually 55 minutes had passed. You are a great teacher! I can't stand one hour of university class, but your video was just enjoyable, engaging and with a valuable content! I would never skip one of your classes if you were my teacher hahaha Thanks again! Keep up the great work!
I realized, what I really like about your videos is how you build this up layer by layer. Testing functionality as a concept then breaking it apart to make it more "production-ready". Thank you very much!
Kyle! You're my favorite teacher for programming. I've been watching you for more than two years now and I can't thank enough for all the things you taught me. Your videos are really a treasure. Your soothing voice and good looks make it even more fun. Kyle, you inspired me so much, I recently decided to become a professional developer.
Thank you for all your work, your high quality teaching and videos!
I have never finished a full tutorial building a complete project until this one! Wow so helpful and helped me understand a bit more of how to build something more full-stack! Thank you so much!!! Hope to see more!!!!
For those having an error "marked is not a function" in the end of the tutorial, the package updated.
use: marked.parse(this.markdown) instead of marked(this.markdown)
Thank you
actually when i am connecting my data base mongodb it is showing this error can you help...
const serverSelectionError = new ServerSelectionError();
^
MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
@@tusharguys1234 Have you downloaded and installed MongoDB on your machine? If not, first go to their website and do so. (also, make sure the service is running)
Thank you!
Thank you
Man, I had to watch hours upon hours of tutorials on middleware to understand routing. I think it finally sunk in. Thank you so much!!!
You are so GOOD at coding and explaining things. Your coding is like an art. Please do more coding turorials. We like it.
Started node.JS coding using your videos.
Congrats on the improvements (you're smiling more, talking slowly. etc. )
Keep up the good work ;)
20 minutes into the video, I decided I needed to show my gratitude for your awesome material, so I went to your Patreon and became an "Investor" $20 monthly. I already bought your React course. Keep up the great work, Kyle! I love your teaching style and professionalism.
Thank you so much! I truly appreciate the support. I will send over a key for the beta version of my CSS course soon.
@@WebDevSimplified Hi Kyle, this is a really great tutorial. I'm really learning a lot. I'm stuck though. I get an error after writing this code :
{ %>
I get an error... articles.forEach is not a function.
Is there a fix for this?
@@KevohYout Hi Kevoh, kindly remove s in forEach. Your code will be like articles.forEach(article => )
@@KevohYout Hi, I haven't tested it, but try this:
{ %>
.
What I've changed here is:
.
forEach(articles => {
to
forEach(article => {
and
to
.
You see, *article* there is referring an individual article in the list of *articles* that we're looping through. I hope that makes sense :)
@@aaron_the_penguin Hi Aaron, i tried it that way and it still didn't work. I don't know what the problem is. I'm still debugging though
for months I've been looking for this tutorial. you sir are a gentleman and a scholar. tysvm.
In the first 15 min I am your fan man.... your teaching way is excellent...
much better understanding watching it all come together, i thought i was looking for node js tutorials but now see this is actually what i need. Awesome , great work
the best tuto i ever watch in ur channel until now
please make other precious things like this
Thanks Kyle! You really made my day by creating such well-explained tutorial, and I learn a lot from you and the comments. Really appreciate your works!
A lot love from India thank you for this video
clear my lot of confusion
This is an incredible tutorial! What a wonderful example of how to do it. Respect.
Can you add comments section for individual post ?? that will be awesome
I hope to make a part two for this video if this video is popular enough and that would most likely be something I include.
@@WebDevSimplified I Owe You Bro
Awesome!! Learned a lot. Always wanted to know how to create a markdown blog and that slug thing.
solved - TypeError : marked is not a function , solution - const {marked} = require("marked") in article.js file. I have completed the project. Thank you for sharing your knowledge.
Thank you so much bro! It's still working even 1 year later!
you are literally my savior, thanks a lot
Sir, can you make a video CRUD operation on nested documents in MongoDB and NodeJS?
Great tutorial Kyle!! Fantastic work here
This tutorial is "exactly what we want"
Best thing to do while quarantined ...
This line for using marked library should be change to
if(this.markdown) {
this.sanitizedHtml = dompurify.sanitize(marked.parse(this.markdown))
}
I just used parse method of marked
thanks heaps man
you the man for that one !!!!!! i was stuck
Thank you - I thought this was going to take hours to fix.
Thanks so much for such a great tutorial, Kyle! 😁
I have an error somewhere at 33:00, basically I get MongooseServerSelectionError: connect ECONNREFUSED ::1:27017, and this happends after i fill out the form and click save, I googled on stack overflow but couldnt find the solution if anyone knows or encounterd the same error and solved it please help
did you ever find a solution ??, im facing the same issue
Awesome tutorial Loved it and helped me a lottttttt to understand the mongo :)
Kyle, you are a diamond. I study code 7 months, and thanks to you i can make full-stack websites. My goal is to study 5 months more, about 6-7 hours every day as i do now. Do you believe it would pe possible for me to find a remote country job as my first if I have a super portfolio and i preper like crazy for interviews?
if you're from the future and struggling with the res.body... part, do not despair. Just change it to res.req.body...
Also, npm install body-parser, as express doesn't include it by default anymore.
i was just wondering if installing body-parser was going to do the trick to resolve my app crashing on POST (i couldn't determine which body parser was deprecated). thank you for this comment!!
@@shelbytalbert6059 That's why reading documentation is important and why every tutorial should come with a disclaimer that it could be outdated the moment it's uploaded.
Glad I could help!
Wonderful tutorial. Thank you!
God bless you man for this video.
I couldn't understand why it wasn't working for me. I didn't have mongoDB installed hahah. Good video thank you!
Thanks a lot bro, very clear tutorial 🙏☕️
Really enjoyed this! Thanks!
Thank you so much for the tutorial. That was exactly what i need to enhance my skills. Please how can i contribute financially ? But i'm getting an error when i'm trying to connect to the database...
This dude is gold
I will start with this
'
Got the solution...!!
You need to Install this plugin in your VS Code as it doesn't understands embedded javascript(ejs) by default.
marketplace.visualstudio.com/items?itemName=DigitalBrainstem.javascript-ejs-support
It works bro thanks
@@geetgori160 how am i gonna plugin, i couldnt get it
@@tunahani selam sitede plugin tam olarak nerede, bulamadım
Eğer VS Code kullanıyorsan Exte
nsions bölümünden arama yaparak indirebilirsin
When I try to call 'articles.createdAt.toLocaleDateString()' (or 'post.date.toLocaleDateString()' for my implementation) in my .ejs file, it says: 'post.date.toLocaleDateString is not a function'. Could you help me figure this out?
thank you man. i learned a lot
Impressive... very nice
THANK YOU !
If you want to make that only you could create new articles You should create a login screen?
FYI - I suspect it is a version difference with dompurify or jsdom because at the end my forms wouldn't submit at all until I copied your 'nodemodules' folder into my project directory and removed the existing folder
Before saying, HUGE thank you for the informative video!
I got a question from your video when you wrote an articleSchema.pre function on article.js, why do we need to write a function parameter with traditional way of writing function like "function ()" instead of arrow function? I changed it to arrow function but it didn't work and showed me an error...
I feel like this is a question that people commonly faced but I am pretty new to web development😬
Normal functions and arrow functions treat the this keyword differently, that's why. Kyle explains that difference in his video on arrow functions, which should help you
@@nsharma4981 Appriciate for your kind answer mate!
i did not understand the first part of this video .i'm doing the same as you did in terminal for creating server but my one's shows error .can you please help me with that
Awesome project :)
Awesome.
Kyle "Which is exactly what we want" Cook :D
JK Nice tutorial!
Lol. I should really consider a name change.
great tutorial. I want to use Quill.js editor instead. My blog can have multiple images. How can I store (reference images) in markdown?
When ever I write a long paragraph and I want to make a new line it doesn't show there is a new line. The paragraph is simply a long one paragraph without any new line. How can I make a new line when I post the article?
Great teaching skills keep it up, Sir i have created a blog that has four categories i need help and direction how to write logic that will populate/display posts from all the categories to one single page which views/index.ejs
Thank you
been trying to figure this out all morning no help anywhere. I did a console.log(articles.title) and it just shows undefined. My code is exactly like yours dot to dot and it's still isn't working. I do not know what else to do.
Move the urlencoded piece on server.js to the top of your server.js file
hey anyone get this error:
const serverSelectionError = new ServerSelectionError();
Edit: found the issue, have to download MongoDB for windows and start the service from services and then the connection will work.
This is EXACTLY what we want.
You stole my comment good sir.
After going this tutorial like 3 times , I can proudly say...now I get it
True...JUST LIKE THAT
Love the way how he says it :)
This is not a tutorial. This is a piece of art.
:D
the way he speaks reminds me of bob ross painting
I know Im randomly asking but does any of you know a way to get back into an Instagram account?
I was dumb lost my account password. I appreciate any assistance you can give me.
@Finn Forest instablaster =)
@Atticus Colten i really appreciate your reply. I found the site thru google and Im trying it out atm.
Looks like it's gonna take quite some time so I will reply here later with my results.
Finally, a good tutorial on a CRUD application that isn't 3 hours long, "WHICH IS EXACTLY WHAT WE WANT."
Am I the only one where the connect function for mongoose doesn't work? It always crash
I feel you
@@ayushmishra7729 solution?
@@UniversalKnowledge01 check your connection string and make sure you copied it properly. Also if the connection is refused make sure you are not already connected on the same port elsewhere.
INSTALL THE EJS LANGUAGE SUPPORT PLUGIN TO FIX THE RED
clutch :)
Kyle you came in clutch!! I was looking for the exact same things a few days ago! Thank you sir! 🙏🏽🙏🏽
I'm glad I could help!
Unbelievably in-depth. Rarely are people this good with tutorials
Thank you!
hello .. new Article() generates whitespace to teaxtArea .. do you know whats going on?
EDIT: I've figured it out. It was whitespace in .ejs template. The needs to be right between tags without whitespace ._.
This also gave me issues till I figured it out.
Funny I was just thinking of building a simple blogging web app and lo and behold a video pops up on my feed! Thanks! ✌🏼
AI
Its a great tutorial i had found on youtube...but its so much confusion because you had named every second file as 'article'🤯🤯
If you have error message during the tutorial maybe it's because you haven't installed MongoDB. mongoose doesn't do it.
Kyle did a video about this :
ua-cam.com/video/wcx3f0eUiAw/v-deo.html
Thank you ! worked fine with Mongo ;)
Thanks I got that error, after installing MongoDB Server the error's gone!
thanks for this!
This is one of the best tutorial I've ever been through! Thanks a Lot!
Hi Kyle. This is honestly a fantastic video and it has taught me a lot as a junior developer. However, I don't if I missed something, but the way this blog is designed, wouldn't it just allow anyone to add, edit or delete the blog posts, or do they remain somehow private for you to manage and others to only read?
Hey, it's great but I got stuck at 35:20 when it needs to show the PARAMS.ID, I am unable to get the id. Does it need to install something extras?
Please Help.
I am having the same problem
me too
Does anyone have fixed the issue. Please tell fast as possible
@@JuandeLellis I got the solution...We need to put underscore before id because in mongo db ID is stored as a "_id" Just edit this line.
${ article._id } in place of ${ article.id }
@@laplasparadox3138 I got the solution...We need to put underscore before id because in mongo db ID is stored as a "_id" Just edit this line.
${ article._id } in place of ${ article.id }
You should have said up front that we would need a mongoDB already set up. Having never used it before I had no idea why it wasn't working!
Hey Did your error resolve. I am also getting a error like (const serverSelectionError = new ServerSelectionError(); ). Not able to resolve it. Can you help me.
@Sreekar K The way he guided
yoo i cannot get past about 22:00 when we start using mongodb - tried like 10 different avenues and got nothing any suggestions?? (Need monogodb installation help)
I appreciate the effort you put into your tutorials, thanks for the information. Unfortunately I find the content hard to take in because it's run thru very quickly without explanation. My goal with completing this tutorial was to completely build it out and then break it into segments so that I could then dive in to deeply understand the concepts and build upon that. But I find it very difficult to take this approach with this one. Either way great stuff man and thank you!
I get an error when adding this to my _form_fields input field -- value="" ReferenceError: C:\Users\mshay\Documents\College 2020\Node Sites\api builds\blog\views\articles
ew.ejs:19. It doesn't seem to like this, either:
install mongodb on ur pc,open cmd,type "mongod" command,and then put the url in mongoose.connect()
Fantastic tutorial! Works great in development
Anyone else getting an "Unhandled Promise RejectionWarning " though?
I've been trying to deploy it through Heroku - added try/catches to all the async/await functions but still the error persists
yes
Yeah, I get this at about 35:00 stage of the video, and so that's where it ends for me. Can't figure it out. Did you end up figuring out the problem?
Thanks a lot for sharing knowledge.
Just two things :
* 27:45 : You don't need the ./ then ../ to access to the parent directory. Just ../models/article
* When you want to pre populate fields, you can just use { article } instead of { article: article } using object destructuring
Hey Kyle,
Thanks for the great video. I got stuck at about 34:10 because I didn't realize I needed to install the mongodb server program on my system (mongoose added to the app at 24:10). Finally figured it out but for future watchers inserting a comment at that point might be helpful. Cheers :)
I am also stuck there. How do you do that?
thanks man! was searching for all the wrong solutions! you saved the tutorial for me.
Yea I guess that is important, right 😅
OH MY GOD I WAS STUCK THERE FOR 4 HOURS 4!!! i was slowly losing my sanity because of that. thank you
You saved me too lol…thanks
I cant go beyold error: text is not defined. Please help.
If all my courses in university were this good I'd have graduated 2 years ago
Thank you for the support!
Absolutely fantastic video, I was having an issue with markdown and sanitization on a MERN stack project I'm working on and this instantly alleviated my suffering! Side note, a great video idea (that isn't really out there at the moment) would be this same node/express backend but swapping out EJS with React, so essentially a MERN structured blog. Anyways, thanks again!!!
I just completed this course, but maybe something has changed with packages, because I am getting an error of "unhandlledPromiseRejectionWarning"....not sure how to troubleshoot. Any advice would be much appreciated!
I'm having the same problems as well
What code gives you the error... did you miss an await with an async?
same((
Thanks you so much everything works perfectly and this was an amazing deep dive into making me feel like I actually have a handle on all of the GET PUT POST ect. I knew almost nothing before watching this video about requests and working with ejs but with this video I was able really understand what was going on!
Keep up the good work! Thanks a lot!
That is awesome. Nice job!
Wow. Thiss is exactly what I was looking for. Thanks a load!
you are the ONLY youtuber (well 2nd one is Coding with Mosh) that breaks down concepts this easily to understand. Thank you!!
The world turns thanks to people like you...
Thank you so much for masterpiece
Good but if authentication is added it will be great
I am thinking about doing a part two on this video if enough people like this video.
@@WebDevSimplified yeah please do it thank you
You deserve million likes
@@WebDevSimplified Thank you som much first, and same comment if possible to add authentication, will be great :)
@@anilanaparthi6985 Take a look of passportjs.org It's easy to use and offers plenty options to authenticate with.
@@WebDevSimplified It'll become a real almost-ready-to-deploy project! Looking forward to part 2!
So i've just gotten to around 36:40 where he adds the redirect to the start if the ID is wrong. But mine just keeps loading. I also get this error message UnhandledPromiseRejectionWarning: Unhandled promise rejection. I've also noticed that when he goes to create a new article his address is localhost:5000/articles where mine is localhost:5000/articles/new and I'm wondering if I've missed something
The error appears if your id in your URL is not 24 characters long. Just replace some numbers, if your id is 60849ff628cdd03218b58b0c change it to 60849ff628cdd03218b50000
i was searching for a good blog tutorial with node last week and boom, the best one. Thanks so much!
This is great! Can you please also teach uploading images, save and fetch please?
Hey Have you had a chance to try the upload image? How it works?
For anyone getting a "Cannot /DELETE" error, check every single line of your code. There's a spelling mistake somewhere. My error was typing ':/id' instead of '/:id'
For anyone getting errors with MongoDB, make sure you actually install MongoDB. I didn't realize you needed to do that AND install mongoose 😅
thank you, i did the same this
I don't know why but we have all been to the same situation lol :D
howto connect with mongo atlas??? i can't understant create record when submit new article.
this is *exactly* what I needed, thanks.
*Tip* : We Can Write
const app = require("express")();
You may need to use express.static, so it's easier to just define express.
What does the () do at the end?
@@HostDotPromo Its same as:
const express = require("express.js")
const app = express()
() just calls the function
@@HostDotPromo And It's Came In ES6 ( I Think )
@@j122j Thanks!
The shear amount of "developers" in this comments section that expect someone to just solve their problem for them with little to no research or effort on their end is exhausting. You want to be a developer? This is part of being a developer. You are a problem solver. Start learning how to problem solve or your career as a developer is going to non existent. It's one thing to ask for help after you've spent hours upon hours researching on your own and trying out possible solutions. Its quite another to simply beg strangers online to handle your work for you with no effort on your end. The reality is that if your doing this, and this is your go to mentality - you are not learning anything anyways aside from how to type quicker and anyone dumb enough to hire you is going to be incredibly disappointed.
Shut up loser
Wow! Grateful For This Course! Thanks!
This guy is a better programmer and better looking than me, dislike
let me join in the accolades here ... #1 I HAVE NO IDEA what you're doing but I am confident that I will understand it in time, because it's all laid out. That's the way I felt about learning javascript and html, once I did a few lessons, I went - OH- THIS IS SUPER EASY! Thank you to the people who invented javascript etc, because all I have to do is learn the syntax🌺🌺🌺
anyone who is just starting out, don't let it get you down or think you're taking too long to learn something. Teachers like him care about you and are here to show you the way 🏆I didn't know a lick of javascript/html/css a few months ago, kudos to wonderful teachers
why does my submitbutton not work? :)
the net ninja crash cours helped me out a lot if you are no able to understand anything just go back to it he explain everything in details
can you provide the link of the crash course/ playlist pls!!
I have a video request, make a tutorial on how to do almost the same thing but with a login/register feature
Did you try that ?
@@---4690 I tried doing it, but I don't know what I'm doing so I'm looking at some other tutorials