How To Build A Markdown Blog Using Node.js, Express, And MongoDB

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 906

  • @tatimunizz
    @tatimunizz 3 роки тому +18

    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!

  • @kenchang3456
    @kenchang3456 4 роки тому +15

    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!

  • @쎄쌤독일어
    @쎄쌤독일어 2 роки тому +8

    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!

  • @abdullahnaim10
    @abdullahnaim10 Рік тому +1

    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!!!!

  • @philipetavares4796
    @philipetavares4796 2 роки тому +176

    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)

    • @jamesonvparker
      @jamesonvparker 2 роки тому +2

      Thank you

    • @tusharguys1234
      @tusharguys1234 2 роки тому +5

      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

    • @Bic4Colours
      @Bic4Colours 2 роки тому +4

      @@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)

    • @z4ckfytc777
      @z4ckfytc777 2 роки тому

      Thank you!

    • @anisali5
      @anisali5 2 роки тому

      Thank you

  • @ThatGuyDownInThe
    @ThatGuyDownInThe 4 роки тому +2

    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!!!

  • @rotrose7531
    @rotrose7531 4 роки тому +6

    You are so GOOD at coding and explaining things. Your coding is like an art. Please do more coding turorials. We like it.

  • @bogdanmanolea
    @bogdanmanolea 4 роки тому +3

    Started node.JS coding using your videos.
    Congrats on the improvements (you're smiling more, talking slowly. etc. )
    Keep up the good work ;)

  • @JUnderwoodViolin
    @JUnderwoodViolin 4 роки тому +284

    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
      @WebDevSimplified  4 роки тому +45

      Thank you so much! I truly appreciate the support. I will send over a key for the beta version of my CSS course soon.

    • @KevohYout
      @KevohYout 4 роки тому +4

      @@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?

    • @narekpetrosyan7989
      @narekpetrosyan7989 4 роки тому +1

      @@KevohYout Hi Kevoh, kindly remove s in forEach. Your code will be like articles.forEach(article => )

    • @aaron_the_penguin
      @aaron_the_penguin 4 роки тому +1

      @@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 :)

    • @KevohYout
      @KevohYout 4 роки тому

      @@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

  • @markscandura4115
    @markscandura4115 3 роки тому

    for months I've been looking for this tutorial. you sir are a gentleman and a scholar. tysvm.

  • @rahulpatil4144
    @rahulpatil4144 Рік тому

    In the first 15 min I am your fan man.... your teaching way is excellent...

  • @ashburnerkyle
    @ashburnerkyle 3 роки тому

    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

  • @houssemkhi5036
    @houssemkhi5036 3 роки тому

    the best tuto i ever watch in ur channel until now
    please make other precious things like this

  • @ching-tangwang682
    @ching-tangwang682 2 роки тому

    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!

  • @prathameshjadhav2942
    @prathameshjadhav2942 6 місяців тому +1

    A lot love from India thank you for this video
    clear my lot of confusion

  • @alanmcoll101
    @alanmcoll101 4 роки тому

    This is an incredible tutorial! What a wonderful example of how to do it. Respect.

  • @shivagyawali2590
    @shivagyawali2590 4 роки тому +4

    Can you add comments section for individual post ?? that will be awesome

    • @WebDevSimplified
      @WebDevSimplified  4 роки тому +5

      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.

    • @shivagyawali2590
      @shivagyawali2590 4 роки тому

      @@WebDevSimplified I Owe You Bro

  • @dineshrout2527
    @dineshrout2527 3 роки тому

    Awesome!! Learned a lot. Always wanted to know how to create a markdown blog and that slug thing.

  • @shree4641
    @shree4641 Рік тому +1

    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.

    • @songluannguyen4529
      @songluannguyen4529 5 місяців тому

      Thank you so much bro! It's still working even 1 year later!

  • @hin3098
    @hin3098 Рік тому

    you are literally my savior, thanks a lot

  • @jitendrakb8five
    @jitendrakb8five 2 роки тому +1

    Sir, can you make a video CRUD operation on nested documents in MongoDB and NodeJS?

  • @diogosoares1309
    @diogosoares1309 3 роки тому

    Great tutorial Kyle!! Fantastic work here

  • @aniketsindhu558
    @aniketsindhu558 3 роки тому

    This tutorial is "exactly what we want"

  • @sriramtorvi7417
    @sriramtorvi7417 4 роки тому

    Best thing to do while quarantined ...

  • @Codehood
    @Codehood 2 роки тому +5

    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

    • @JordieDH
      @JordieDH 2 роки тому +1

      thanks heaps man

    • @fastlearner9993
      @fastlearner9993 2 роки тому

      you the man for that one !!!!!! i was stuck

    • @gailfoad4422
      @gailfoad4422 Рік тому

      Thank you - I thought this was going to take hours to fix.

  • @neelamchaubey28
    @neelamchaubey28 4 роки тому

    Thanks so much for such a great tutorial, Kyle! 😁

  • @kristianpurgar5068
    @kristianpurgar5068 2 роки тому +4

    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

    • @fastlearner9993
      @fastlearner9993 2 роки тому

      did you ever find a solution ??, im facing the same issue

  • @shivamgoyal7717
    @shivamgoyal7717 3 роки тому

    Awesome tutorial Loved it and helped me a lottttttt to understand the mongo :)

  • @ArisAris-fs1ip
    @ArisAris-fs1ip 2 роки тому

    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?

  • @MagorTuga
    @MagorTuga 2 роки тому

    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.

    • @shelbytalbert6059
      @shelbytalbert6059 2 роки тому +1

      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!!

    • @MagorTuga
      @MagorTuga 2 роки тому

      @@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!

  • @mathistruth9105
    @mathistruth9105 Рік тому

    Wonderful tutorial. Thank you!

  • @preciousadedibu1821
    @preciousadedibu1821 4 роки тому

    God bless you man for this video.

  • @MartysCryptoPub
    @MartysCryptoPub 3 роки тому

    I couldn't understand why it wasn't working for me. I didn't have mongoDB installed hahah. Good video thank you!

  • @aymoon1411
    @aymoon1411 3 роки тому

    Thanks a lot bro, very clear tutorial 🙏☕️

  • @stephanieraymos4675
    @stephanieraymos4675 4 роки тому

    Really enjoyed this! Thanks!

  • @josephadido7072
    @josephadido7072 7 місяців тому

    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...

  • @Shad1991
    @Shad1991 4 роки тому

    This dude is gold

  • @peopleyoumustknow1325
    @peopleyoumustknow1325 3 роки тому

    I will start with this

  • @geetgori160
    @geetgori160 4 роки тому +3

    '

    • @geetgori160
      @geetgori160 4 роки тому +3

      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

    • @tunahani
      @tunahani 4 роки тому +1

      It works bro thanks

    • @maviselK
      @maviselK 4 роки тому +1

      @@geetgori160 how am i gonna plugin, i couldnt get it

    • @maviselK
      @maviselK 4 роки тому +1

      @@tunahani selam sitede plugin tam olarak nerede, bulamadım

    • @tunahani
      @tunahani 4 роки тому +1

      Eğer VS Code kullanıyorsan Exte
      nsions bölümünden arama yaparak indirebilirsin

  • @technetic2725
    @technetic2725 3 роки тому +1

    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?

  • @rezakhakpour7549
    @rezakhakpour7549 3 роки тому

    thank you man. i learned a lot

  • @sadnapoleon5169
    @sadnapoleon5169 3 роки тому

    Impressive... very nice

  • @njooda5758
    @njooda5758 2 роки тому

    THANK YOU !

  • @dongnez
    @dongnez 3 роки тому

    If you want to make that only you could create new articles You should create a login screen?

  • @nilsberglund4773
    @nilsberglund4773 Рік тому

    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

  • @wanyi8761
    @wanyi8761 4 роки тому +1

    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😬

    • @nsharma4981
      @nsharma4981 4 роки тому +1

      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

    • @wanyi8761
      @wanyi8761 4 роки тому

      @@nsharma4981 Appriciate for your kind answer mate!

  • @Abdulbasit-ti3zo
    @Abdulbasit-ti3zo Місяць тому

    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

  • @azizulhakimashik1154
    @azizulhakimashik1154 3 роки тому

    Awesome project :)

  • @pranupranav6279
    @pranupranav6279 Рік тому +1

    Awesome.

  • @daniel-nagy
    @daniel-nagy 4 роки тому +1

    Kyle "Which is exactly what we want" Cook :D
    JK Nice tutorial!

  • @sunilprajapat3660
    @sunilprajapat3660 3 роки тому

    great tutorial. I want to use Quill.js editor instead. My blog can have multiple images. How can I store (reference images) in markdown?

  • @ermiaskidanegebre5393
    @ermiaskidanegebre5393 3 роки тому

    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?

  • @sainteverest7124
    @sainteverest7124 4 роки тому

    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

  • @neilmotovlog19
    @neilmotovlog19 2 роки тому

    Thank you

  • @josephlivengood4508
    @josephlivengood4508 4 роки тому +1

    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.

    • @ZazaMoogie
      @ZazaMoogie 4 роки тому

      Move the urlencoded piece on server.js to the top of your server.js file

  • @Sk8erMorris
    @Sk8erMorris 2 роки тому +5

    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.

  • @TheMaxthesis
    @TheMaxthesis 4 роки тому +143

    This is EXACTLY what we want.

    • @charleshreha763
      @charleshreha763 4 роки тому +6

      You stole my comment good sir.

    • @dagogouranta5583
      @dagogouranta5583 3 роки тому +2

      After going this tutorial like 3 times , I can proudly say...now I get it

    • @AhmedKhan-gz5uc
      @AhmedKhan-gz5uc 3 роки тому +1

      True...JUST LIKE THAT

    • @Kamil-yr3sq
      @Kamil-yr3sq 2 роки тому

      Love the way how he says it :)

  • @_timestamp
    @_timestamp 4 роки тому +509

    This is not a tutorial. This is a piece of art.

    • @jirifriedrich3823
      @jirifriedrich3823 4 роки тому +2

      :D

    • @alexandrecampini33
      @alexandrecampini33 3 роки тому +9

      the way he speaks reminds me of bob ross painting

    • @finnforest9361
      @finnforest9361 3 роки тому

      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.

    • @atticuscolten651
      @atticuscolten651 3 роки тому +1

      @Finn Forest instablaster =)

    • @finnforest9361
      @finnforest9361 3 роки тому

      @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.

  • @jlambert12013
    @jlambert12013 2 роки тому +68

    Finally, a good tutorial on a CRUD application that isn't 3 hours long, "WHICH IS EXACTLY WHAT WE WANT."

  • @zg7215
    @zg7215 Рік тому +3

    Am I the only one where the connect function for mongoose doesn't work? It always crash

    • @ayushmishra7729
      @ayushmishra7729 Рік тому

      I feel you

    • @UniversalKnowledge01
      @UniversalKnowledge01 Рік тому

      @@ayushmishra7729 solution?

    • @fedordedov783
      @fedordedov783 Рік тому +1

      @@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.

  • @danniboyz9546
    @danniboyz9546 2 роки тому +2

    INSTALL THE EJS LANGUAGE SUPPORT PLUGIN TO FIX THE RED

  • @bbcode7574
    @bbcode7574 4 роки тому +43

    Kyle you came in clutch!! I was looking for the exact same things a few days ago! Thank you sir! 🙏🏽🙏🏽

  • @SBH618
    @SBH618 4 роки тому +51

    Unbelievably in-depth. Rarely are people this good with tutorials

  • @jsonkody
    @jsonkody 4 роки тому +3

    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 ._.

    • @johnsonokoli4040
      @johnsonokoli4040 4 роки тому

      This also gave me issues till I figured it out.

  • @starwarsfan9575
    @starwarsfan9575 4 роки тому +14

    Funny I was just thinking of building a simple blogging web app and lo and behold a video pops up on my feed! Thanks! ✌🏼

  • @AjayYadav-qb4sp
    @AjayYadav-qb4sp 4 роки тому +8

    Its a great tutorial i had found on youtube...but its so much confusion because you had named every second file as 'article'🤯🤯

  • @csablons
    @csablons 4 роки тому +22

    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

    • @mathieugilliot3102
      @mathieugilliot3102 4 роки тому

      Thank you ! worked fine with Mongo ;)

    • @ArhisAlight
      @ArhisAlight 4 роки тому

      Thanks I got that error, after installing MongoDB Server the error's gone!

    • @exosam1008
      @exosam1008 2 роки тому

      thanks for this!

  • @legendry
    @legendry 4 роки тому +14

    This is one of the best tutorial I've ever been through! Thanks a Lot!

  • @jpferreira8464
    @jpferreira8464 3 роки тому +8

    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?

  • @saxenahimanshu6584
    @saxenahimanshu6584 4 роки тому +7

    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
      @JuandeLellis 4 роки тому

      I am having the same problem

    • @laplasparadox3138
      @laplasparadox3138 3 роки тому

      me too

    • @krishnarajyadav3953
      @krishnarajyadav3953 3 роки тому

      Does anyone have fixed the issue. Please tell fast as possible

    • @krishnarajyadav3953
      @krishnarajyadav3953 3 роки тому

      @@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 }

    • @krishnarajyadav3953
      @krishnarajyadav3953 3 роки тому

      @@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 }

  • @serenityimagesstudio
    @serenityimagesstudio 3 роки тому +6

    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!

    • @anshikaarora8337
      @anshikaarora8337 3 роки тому +1

      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.

    • @anshikaarora8337
      @anshikaarora8337 3 роки тому

      @Sreekar K The way he guided

  • @maliksalah6830
    @maliksalah6830 2 роки тому +1

    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)

  • @Digital963
    @Digital963 3 роки тому +7

    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!

  • @shaynerushton214
    @shaynerushton214 4 роки тому +2

    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:

    • @samriddhikumar8470
      @samriddhikumar8470 4 роки тому

      install mongodb on ur pc,open cmd,type "mongod" command,and then put the url in mongoose.connect()

  • @samsexton1287
    @samsexton1287 4 роки тому +6

    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

    • @ashayzemse7094
      @ashayzemse7094 4 роки тому

      yes

    • @eigosumo6056
      @eigosumo6056 3 роки тому

      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?

  • @_Greenflag_
    @_Greenflag_ 2 роки тому +3

    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

  • @trilliumsmith-he-him1615
    @trilliumsmith-he-him1615 4 роки тому +10

    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 :)

    • @desijatt9780
      @desijatt9780 4 роки тому

      I am also stuck there. How do you do that?

    • @akposodoko3738
      @akposodoko3738 3 роки тому

      thanks man! was searching for all the wrong solutions! you saved the tutorial for me.

    • @lostboydev7821
      @lostboydev7821 2 роки тому

      Yea I guess that is important, right 😅

    • @manlaijack547
      @manlaijack547 2 роки тому

      OH MY GOD I WAS STUCK THERE FOR 4 HOURS 4!!! i was slowly losing my sanity because of that. thank you

    • @eduardoh.4229
      @eduardoh.4229 2 роки тому

      You saved me too lol…thanks

  • @rodgersmutua8659
    @rodgersmutua8659 2 роки тому +1

    I cant go beyold error: text is not defined. Please help.

  • @MateoVanDamme
    @MateoVanDamme 2 роки тому +3

    If all my courses in university were this good I'd have graduated 2 years ago

  • @sethmccullough6206
    @sethmccullough6206 3 роки тому +4

    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!!!

  • @mandihaase2744
    @mandihaase2744 3 роки тому +3

    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!

  • @donner7708
    @donner7708 4 роки тому +4

    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!

  • @smsibasish
    @smsibasish 4 роки тому +6

    Wow. Thiss is exactly what I was looking for. Thanks a load!

  • @placeholder_name321
    @placeholder_name321 3 роки тому +2

    you are the ONLY youtuber (well 2nd one is Coding with Mosh) that breaks down concepts this easily to understand. Thank you!!

  • @hbrt10
    @hbrt10 3 роки тому +3

    The world turns thanks to people like you...
    Thank you so much for masterpiece

  • @anilanaparthi6985
    @anilanaparthi6985 4 роки тому +4

    Good but if authentication is added it will be great

    • @WebDevSimplified
      @WebDevSimplified  4 роки тому +12

      I am thinking about doing a part two on this video if enough people like this video.

    • @anilanaparthi6985
      @anilanaparthi6985 4 роки тому +1

      @@WebDevSimplified yeah please do it thank you
      You deserve million likes

    • @zakariam5648
      @zakariam5648 4 роки тому +1

      @@WebDevSimplified Thank you som much first, and same comment if possible to add authentication, will be great :)

    • @humbertocontreras
      @humbertocontreras 4 роки тому +1

      @@anilanaparthi6985 Take a look of passportjs.org It's easy to use and offers plenty options to authenticate with.

    • @mikhart
      @mikhart 4 роки тому

      @@WebDevSimplified It'll become a real almost-ready-to-deploy project! Looking forward to part 2!

  • @sebastianhoward6663
    @sebastianhoward6663 3 роки тому +1

    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

    • @alfonsovillanueva7546
      @alfonsovillanueva7546 3 роки тому

      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

  • @lefosg
    @lefosg 4 роки тому +4

    i was searching for a good blog tutorial with node last week and boom, the best one. Thanks so much!

  • @KYChow-bg6pj
    @KYChow-bg6pj 4 роки тому +3

    This is great! Can you please also teach uploading images, save and fetch please?

    • @fais6375
      @fais6375 4 роки тому

      Hey Have you had a chance to try the upload image? How it works?

  • @JennHernes
    @JennHernes 3 роки тому +7

    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 😅

    • @josesgitahi8915
      @josesgitahi8915 2 роки тому

      thank you, i did the same this

    • @lakshaykanojia3829
      @lakshaykanojia3829 7 місяців тому

      I don't know why but we have all been to the same situation lol :D

  • @ucleminh4301
    @ucleminh4301 2 роки тому +1

    howto connect with mongo atlas??? i can't understant create record when submit new article.

  • @MiSt3300
    @MiSt3300 4 роки тому +3

    this is *exactly* what I needed, thanks.

  • @LabhamJain
    @LabhamJain 4 роки тому +12

    *Tip* : We Can Write
    const app = require("express")();

    • @j122j
      @j122j 4 роки тому +1

      You may need to use express.static, so it's easier to just define express.

    • @HostDotPromo
      @HostDotPromo 4 роки тому

      What does the () do at the end?

    • @j122j
      @j122j 4 роки тому +1

      @@HostDotPromo Its same as:
      const express = require("express.js")
      const app = express()
      () just calls the function

    • @LabhamJain
      @LabhamJain 4 роки тому

      @@HostDotPromo And It's Came In ES6 ( I Think )

    • @HostDotPromo
      @HostDotPromo 4 роки тому

      @@j122j Thanks!

  • @fedordedov783
    @fedordedov783 Рік тому +3

    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.

  • @ESkp15
    @ESkp15 8 місяців тому +1

    Wow! Grateful For This Course! Thanks!

  • @danpenia219
    @danpenia219 3 роки тому +1

    This guy is a better programmer and better looking than me, dislike

  • @skeeterburke
    @skeeterburke 3 роки тому +2

    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

  • @christianveiby3311
    @christianveiby3311 3 роки тому +1

    why does my submitbutton not work? :)

  • @khadijaouakkaha8271
    @khadijaouakkaha8271 3 роки тому +1

    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

    • @sauvikgoel591
      @sauvikgoel591 2 роки тому

      can you provide the link of the crash course/ playlist pls!!

  • @theartlegend3772
    @theartlegend3772 4 роки тому +2

    I have a video request, make a tutorial on how to do almost the same thing but with a login/register feature

    • @---4690
      @---4690 4 роки тому +1

      Did you try that ?

    • @theartlegend3772
      @theartlegend3772 4 роки тому +1

      @@---4690 I tried doing it, but I don't know what I'm doing so I'm looking at some other tutorials