Node.js + Express - Tutorial - GET and POST Requests

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

КОМЕНТАРІ • 116

  • @oldbootz
    @oldbootz 8 років тому +4

    i have been using node for 4 months and i did not know so much ! these are the best most up-to-date node tutorials on the web right now! I feel my competence with node increasing a lot from video to video.

    • @academind
      @academind  8 років тому +1

      Wow, amazing to hear that, many, many thanks!

  • @ParkourXAdrian
    @ParkourXAdrian 8 років тому +17

    Thank you, sir! I love learning from you. Your clear, and thoughtful, explanations are exactly what beginners need. Seeing how to build a node.js express app from the very beginning in small digestible chunks like these, expressed in such a rational and objective manner, makes learning so easy. Thank you, thank you, thank you for your thorough and concise tutorials. Really great job, friend. I'm in awe of your awesomeness.

    • @academind
      @academind  8 років тому +4

      That's really great to hear, thanks a lot for your amazing feedback!

    • @ParkourXAdrian
      @ParkourXAdrian 8 років тому

      Mindspace You’re most welcome, good sir. You greatly deserve it for providing all of us with such useful tutorials.

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

    By far one of the best explanations for this concept I have seen.

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

      Awesome to read that Corey, thank you!

  • @zamirmm2973
    @zamirmm2973 7 років тому +2

    I think you are one of best instructor on youtube. Thanks

    • @academind
      @academind  7 років тому

      Wow, really amazing to hear that - thanks so much Zamir!

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

    What a fantastic represention of request and response it's amazing and I loved it

  • @alexpan4987
    @alexpan4987 7 років тому +33

    The best tutorials i've evere found! Thanks a lot.

    • @academind
      @academind  7 років тому +6

      Thanks for your amazing feedback Alex, I'm happy you're liking it!

  • @paulogodinho3275
    @paulogodinho3275 7 років тому

    Fast and straight to the point, you are doing excellent work here my friend, thank you!

    • @academind
      @academind  7 років тому

      Many thanks for your amazing comment Paulo and thank YOU for your support!

  • @stratulatalexandru765
    @stratulatalexandru765 7 років тому

    One of the best node.js & express tutorials. Thx.

    • @academind
      @academind  7 років тому

      So awesome to read comments like that, thank you so much!

  • @magnouchehakim6473
    @magnouchehakim6473 6 років тому

    You could never remove the fun we had ... great video series ! Thanks man !!!

    • @academind
      @academind  6 років тому

      That's so awesome to read, thank YOU for your comment Mag!

  • @bhuvaneshwaranm7290
    @bhuvaneshwaranm7290 5 років тому

    after watched this course i have got a web developer job!!!! thank you so much

    • @academind
      @academind  5 років тому

      Wow, congratulations that's awesome!

  • @sukumarhonkote9936
    @sukumarhonkote9936 8 років тому

    Excellent and simple video. Very easy to understand what's being done

    • @academind
      @academind  8 років тому

      +Sukumar Honkote Great to hear that, thank you!

  • @aigonewrong.
    @aigonewrong. 7 років тому

    very clear tutorials. I really enjoyed these videos. You explained each topic very well, and each video has its own take away points. Can't wait to finish this series and move on to more advanced topics! Thank you so much!!
    I started with mean.js on github, and it was just way too much to handle. I like your approach much better.

    • @academind
      @academind  7 років тому

      Thanks so much, awesome to hear you enjoyed it :)

  • @ezrafermanis420
    @ezrafermanis420 8 років тому

    You are the man. Thanks for taking the time to do these videos. So useful!

    • @academind
      @academind  8 років тому

      +Ezra Fermanis
      Thank you! :)

  • @yassineagalmame627
    @yassineagalmame627 6 років тому

    i always enjoy learning with you
    ...

    • @academind
      @academind  6 років тому

      Very happy to read that, thank you for your comment!

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

    Amazing tutorial. You are a god-send

  • @PALOMNYK
    @PALOMNYK 7 років тому

    Thank you for making this series!

    • @academind
      @academind  7 років тому

      Thank YOU for your support :)

  • @ConorKenney
    @ConorKenney 8 років тому +3

    These are absolutely fantastic. THANK YOU!

    • @academind
      @academind  8 років тому +3

      +Conor Kenney
      Great to hear that, thank you Conor!

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

    i loved the way you explain things

  • @pierresylvainamina8848
    @pierresylvainamina8848 5 років тому +2

    This guy is an amazing teacher! #bigup

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

    Can you please give an update tutorial for 2020 and going forward? Thank you!

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

    Excellent videos! Thank you for sharing your time, efforts, and character.

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

    Nice work ! ,thank you ❤❤❤ little things changed after ES20 but still a very helpful video .

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

    Thank you so much, your videos are great, just there is some problem at the end of this video, you are using post method there but it redirects to get method, you can check its URL with value 10. Thanks a lot for your leanings.

  • @rafaelgoncalves7443
    @rafaelgoncalves7443 6 років тому

    Your tutorials are the best

    • @academind
      @academind  6 років тому

      YOU are the best Rafael, thanks so much for your great feedback!

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

    I'm having a problem with the handlebars and I can't find the solution. This is the message I'm getting on the console when the req.redirect() is executed:
    "Handlebars: Access has been denied to resolve the property "status" because it is not an "own property" of its parent."

  • @metensarnaud
    @metensarnaud 7 років тому

    Thank you very much, your tutorial rocks!

    • @academind
      @academind  7 років тому

      Thanks so much Arnaud!

  • @ДимаГалаган-м9ъ
    @ДимаГалаган-м9ъ 4 роки тому

    Thanks for such important information)

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

    How to use get request for array suppose I have object {id:1,title:xyz,type:[type1,type2] I want to get by type which contain array how I can do these ??

  • @HimanshuSingh-nu4ys
    @HimanshuSingh-nu4ys 5 років тому

    did you use jade or handlebars in further tutorials including shopping cart

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

    Thanks for share the video, Do you have something about CRUD on node.js, apache and php please ?

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

    in the index.hbs file the | {{ title}}| where the title has been fetched.

  • @שמואלשמילה-ר9ד
    @שמואלשמילה-ר9ד 6 років тому

    ty this video help me to uderstand better node js

    • @academind
      @academind  6 років тому

      Great to read that, thank you very much for your comment!

  • @TheKabindas
    @TheKabindas 5 років тому

    nice tutorial, easy and simple :)

  • @Miodrag0204
    @Miodrag0204 8 років тому +1

    So useful! Thank you sir.

    • @academind
      @academind  8 років тому +1

      Happy to hear that Miodrag! :)

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

    Great vid! Curious, what plugin are you using that's creating a neon highlight around your brackets as your typing?

  • @zakbddotcom2282
    @zakbddotcom2282 7 років тому

    Its was excellent tutorial .....Thanks man...

    • @academind
      @academind  7 років тому

      Awesome to read that, thanks a lot!

  • @yogalakshmi6838
    @yogalakshmi6838 7 років тому

    Really nice videos and excellent explanations....Thank you so much sir :)

    • @academind
      @academind  7 років тому

      Thank you very much for your awesome feedback Yoga!

  • @pavaniv7938
    @pavaniv7938 7 років тому +1

    Thank you for the great videos. They are very clear and so helpful. I do have a query though, I need to make an external API call to receive JSON data and render it in the browser and I have no idea how I should go about it. Help with this would be highly appreciated. You can even direct me to a course of yours which can help me with this.

    • @academind
      @academind  7 років тому

      You should find some helpful videos on my channel. For example my currently running series about Laravel + Vue.js / Angular. No matter if you use these languages/ frameworks or not, the techniques shown there might be helpful to you.

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

    amazing tutor

  • @Reaper_f30
    @Reaper_f30 5 років тому

    how would i use this with a template engine such as handlbars, app.get works fine but router.get doesnt with a template engine??

  • @GiuseppeTavella
    @GiuseppeTavella 7 років тому +4

    thanks for your videos!!

  • @latinbishop1722
    @latinbishop1722 5 років тому

    Can’t find your video on http nodes

  • @abhimanyuambastha2595
    @abhimanyuambastha2595 8 років тому

    Hi Max, in the form action, you had to hard code the URL. Is there a method to name the routes and then pass it so that if anything changes, it only needs to be changed in the routes file? Also the anonymous functions that we write in the router.get(), wouldn't it be better to define those in a separate file (like we do in Laravel Controllers) ?

    • @academind
      @academind  8 років тому

      Hi Abhimanyu,
      you could certainly outsource the code into controllers/ separate files and I agree that this makes it much easier to work with in bigger projects.
      Regarding the absolute routes: Natively, you can't name them.

  • @elriclaiboonkeat6218
    @elriclaiboonkeat6218 5 років тому

    Hello, I’ve been NodeJS developer for the past few years. I would like to ask if Server Side rendering will slow down nodeJS ? I’m using Client Side rendering currently. Thanks.

  • @johncliffe
    @johncliffe 6 років тому

    How do you get the colour theme for handlebars?

  • @bilal1991b
    @bilal1991b 6 років тому

    Hi sir, nice tutorials, but i have an issue on 4:22 video time, when i run project, i got an error,
    Error: Failed to lookup view "error" in views directory ........
    Kindly tell me the solution.

    • @silviasaloni7872
      @silviasaloni7872 6 років тому

      I have got the same error. In my case I put the test.hbs in the folder views/layouts,. Once I move the file into the folder views, it worked.

  • @PrabhatJuly
    @PrabhatJuly 7 років тому

    With this perfection and simplicity, you might even be able to teach coding to Trump. :) Awesomeness all over.

    • @academind
      @academind  7 років тому

      Haha, don't know if I could do it in 140 characters though ;) Thanks for your great feedback!

  • @cli-hope417
    @cli-hope417 5 років тому

    thanks for your videos. ..

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

    Thank you!

  • @ailton.duarte
    @ailton.duarte 5 років тому

    i like your videos

  • @superalexturbo
    @superalexturbo 7 років тому

    Can I find this course on Udemy? Thanks

  • @shabirmustafa9023
    @shabirmustafa9023 7 років тому

    How to access remote server through express

  • @AhmedEssam-lv5vn
    @AhmedEssam-lv5vn 8 років тому

    I have created a chat application on server that support node js .. now I want to use that chat application in any website that I want.. how I can do that? or pass a request to that customer service chat application?
    thanks for the videos

    • @academind
      @academind  8 років тому

      Hi Ahmed,
      you could expose API endpoints (= routes) with your chat app. This app would basically be a service other apps/ web pages could then implement by sending requests to those endpoints.

    • @AhmedEssam-lv5vn
      @AhmedEssam-lv5vn 8 років тому

      Can you provide me with video like or an article or anything? it may change my life really :D

    • @AhmedEssam-lv5vn
      @AhmedEssam-lv5vn 8 років тому

      or just tell me what should I search for and should i change in the chat application code or the hosting website that will host it?

    • @academind
      @academind  8 років тому

      I think this articles might give you a good start on how to create such a service.
      The important thing to understand, is, that this service will hold all your business logic and the connecting apps will hold the user interfaces.
      cwbuecheler.com/web/tutorials/2014/restful-web-app-node-express-mongodb/
      scotch.io/tutorials/build-a-restful-api-using-node-and-express-4
      devcenter.heroku.com/articles/mean-apps-restful-api

    • @AhmedEssam-lv5vn
      @AhmedEssam-lv5vn 8 років тому

      So I must learn about RESTful API and MEAN right?

  • @rafeyimtiaz2478
    @rafeyimtiaz2478 7 років тому

    Please tell me where i can learn more about client side AJAX calls to the server so i can implement domain locks using Post. Meine Meinung nach ist, Du bist ein genie lehrer. Sehr Beeindruckend. Subscribed

    • @academind
      @academind  7 років тому

      Thanks so much, happy to hear you're liking it! You should be able to find some decent AJAX tutorials via Google but I also got some series on this channel (e.g. Angular/ Vue + Laravel) where I also have some videos on making Http requests.

    • @rafeyimtiaz2478
      @rafeyimtiaz2478 7 років тому

      please make a video on using Fetch API from client in lieu with express for fetching JSON tokens it would really help me.

  • @archanawhatkar9376
    @archanawhatkar9376 5 років тому

    Hello Sir,
    When you enter 10 and press submit, at same click event if I want to close only that window page, how to to that?
    Thank you,
    Archana

  • @tobe.antonio5232
    @tobe.antonio5232 6 років тому

    How to access the full playlist?

    • @academind
      @academind  6 років тому

      I think the easiest way is here on our website: academind.com/learn/node-js/the-basics/get-and-post-requests

  • @minhtaitrinh8109
    @minhtaitrinh8109 8 років тому

    for example you use the word "id" too much, so I took some time to understand it. But it was excellent!

    • @academind
      @academind  8 років тому

      Many thanks for your feedback - I constantly try to improve :)

  • @JuanCarlos-mn8ys
    @JuanCarlos-mn8ys 4 роки тому

    He looks like the tall guy from FROZEN!!! lol

  • @khimbahadurgurung8918
    @khimbahadurgurung8918 6 років тому

    router.get('/test', function(...)); //retive all test
    router.get('/test:id' function(...)); //retrive test of specific id
    how to retrive test of specific type using get request like retrive all test of type='abc'

  • @OanaTheMeerkat
    @OanaTheMeerkat 5 років тому

    Thanks

  • @elliot-chagu294
    @elliot-chagu294 5 років тому

    thanks!

  • @katiaoutayeb6780
    @katiaoutayeb6780 5 років тому

    thanks a lot

  • @ShahidMehmood-tb9do
    @ShahidMehmood-tb9do 6 років тому

    Your voice is very low, a good tutorial video

    • @academind
      @academind  6 років тому

      Happy to read that you like the video Shahid! The video is a bit older, audio and video quality improved in the more recent videos :)

  • @sweetcode7857
    @sweetcode7857 7 років тому

    Learn to write sweet code over here at SweetCode. I'm aiming to make my tutorials very basic and easy to follow for beginners.

  • @mahdifardi6822
    @mahdifardi6822 5 років тому

    thanks :)

  • @pelepele123456
    @pelepele123456 8 років тому

    thanks for help
    btw. nice haircut :)

    • @academind
      @academind  8 років тому

      +pelepele123456
      Thank you and thank you :)

  • @HelloGoodbye-f6q
    @HelloGoodbye-f6q 5 років тому

    Четко братуха

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

    Used translate pt-br

  • @BinaryGear
    @BinaryGear 6 років тому

    Are you German?

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

    spam

  • @Guihgo
    @Guihgo 8 років тому +2

    So useful! Thank you sir.

    • @academind
      @academind  8 років тому +1

      That's great to hear, many thanks for the great feedback! :)

    • @Guihgo
      @Guihgo 8 років тому

      Mindspace HI, how to return a data to html ?
      for example:
      HTML AJAX POST -> route (node.js) -> calculates numbers -> retrun its numbers to ajax

    • @academind
      @academind  8 років тому +1

      You would use the res.json(dataObject); method for that. Check out my NodeJS + Angular 2 video (on this channel) to see some example for that.

    • @Guihgo
      @Guihgo 8 років тому

      thanks a lot ! You're the better ! +1 fan