MySQL Node.js Express

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 263

  • @tye-gehring
    @tye-gehring ปีที่แล้ว +47

    I've watched tons of different coding tutorials, this was by far one of my favorites. You do an amazing job and I hate to see that you haven't added anything in the last few months. Please keep it up, you are very good at explaining things.

  • @fluffybubble6872
    @fluffybubble6872 ปีที่แล้ว +26

    This is one of the best tutorials about using MySQL with Node in youtube. I really enjoyed watching your tutorial and gained a lot of usefull knowledge about topic. You really did a great job !

  • @danielmadison4451
    @danielmadison4451 ปีที่แล้ว +21

    What is clean code? Hard to define, but you know it when you see it. THIS is CLEAN CODE. Thanks for showing all of us how it's done.

  • @ToddSotheren-u8b
    @ToddSotheren-u8b 9 หลายเดือนก่อน +2

    Thank god someone can actually explain this clearly, comprehensively and concisely - everything I needed to know and nothing I didn't - much appreciated mate 👍

  • @huyhoangngo582
    @huyhoangngo582 ปีที่แล้ว +1

    I've been watching a lot of tutorials on connecting MySQL to VSCode and using ExpressJS to implement it. None of the videos gave me a clear idea of what to do. But when I watched your video, you basically made everything clear to me. Just wanted to say thanks for the instructions and keep up the good work.

  • @koopa9815
    @koopa9815 2 ปีที่แล้ว +5

    Thanks so much! I LOVE LOVE LOVE how you explain the context of why we write the code a certain way. Helps me out so much knowing background info and prevents me from just following along too blindly!

  • @alskjflaksjdflakjdf
    @alskjflaksjdflakjdf หลายเดือนก่อน +1

    Just getting back into JS after a several year break, great tutorial that shows how modern Node apps can be structured. Thanks for posting!

  • @phantom3612
    @phantom3612 4 หลายเดือนก่อน +7

    I can't even wrap my head around on how you packed this much of AMAZING content in such a small video. Hats off to you.

    • @vityamv
      @vityamv 4 หลายเดือนก่อน

      I can't even wrap my head around on how he used await outside async scope

    • @testuser-i9e
      @testuser-i9e 3 หลายเดือนก่อน

      @@vityamv top level await

  • @marcelmeyer8027
    @marcelmeyer8027 2 หลายเดือนก่อน

    I'm a complete newbie to development and JS. Only been sincerely interested in the topic of software development for a few months now.
    First watched this Video a few weeks ago and didn't understand a lot of it, let alone all. I guess I just wasn't ready for it.
    Watched it again now, after a lot of reading and watching other videos which were all more or less helpful.
    And I must say:
    At this point, all makes perfect sense to me and I am positively amazed as to how much knowledge and practical advice you can put into less then 30 min. of video.
    Respect for all your skills and thanks for sharing it!

  • @davidbarker7030
    @davidbarker7030 10 หลายเดือนก่อน

    This is a really good guide to using MySQL with express. I first completed the prior tutorial, the Express JS Crash Course. I extended the work I did there during this MySQL tutorial with only a few minor tweaks - uninstalled express 4, installed express 5 beta. Used server.js instead of app.js. Had to change to use ES modules instead of commonjs, so I had to remove 'require' and use imports. Then the rest of the changes were just in database.js (in the first tutorial, it's just a hard-coded in-memory object). It works great! Thanks!

  • @davidmd5329
    @davidmd5329 ปีที่แล้ว +2

    All your tutorials are great to follow on practice without missing out............Awesome attribute you have got!!

  • @TheChad9909
    @TheChad9909 ปีที่แล้ว +17

    This tutorial is amazing! Very straightforward

  • @Fran-mq4mu
    @Fran-mq4mu 4 หลายเดือนก่อน

    Man, you don't even know how this video helped me, thank you so much for the didactics and for keeping the language simple for those who aren't natives!

  • @chriskiesel5360
    @chriskiesel5360 ปีที่แล้ว +1

    Fantastic! I really enjoyed this honestly, I kept pausing and rewinding the clip over and over and not because it was hard to grasp rather was your delivery, absolute fire . I am so happy for accidentally coming across your channel you're a real one Sam, Cheers.

  • @matthewdavidson3117
    @matthewdavidson3117 4 หลายเดือนก่อน

    Absolutely amazing! So much knowledge passed through in less than 30 mins. Please keep building and keep making vids

  • @mashablair2854
    @mashablair2854 ปีที่แล้ว +2

    I love this!! especially the voice of the instructor -- I can listen to it all day! 😀
    i was afraid of mysql (connecting it to some front-end code) for a long time and this is super helpful. thank you.

  • @luisalbertovillarortiz7424
    @luisalbertovillarortiz7424 ปีที่แล้ว

    Dunno How I glad I felt at the very beginning of this tutorial, ever better jajaja dunno how to describe How I felt after complete these almost 30 minutes.
    Just to try to be accurate, It was in-depth, updated, straightforward MySQL, Node.js and Express master Class...!!! Thank so much!!
    Sorry I'm not english native speaker But I did my best in order to express my self!!!
    In a nutshell it was spotless tutorial!!!
    Thanks Dude! Thanks Sam Meech-Ward!!!!!!!!

  • @lovelyalicekim
    @lovelyalicekim 7 หลายเดือนก่อน

    I really love your tutorial which is straightforward and clear. Especially mentioning like why it is the better way to write code. Super helpful!!

  • @Hemantraghav-vp3ff
    @Hemantraghav-vp3ff 8 หลายเดือนก่อน

    It is very helpful video for those looking for 'how to connect node.js app to Mysql ". To-the-point tutorial.

  • @Alex-wg9bi
    @Alex-wg9bi 5 หลายเดือนก่อน

    Great video! As a computer science student who has studied these concepts/frameworks in class, this was a fantastic streamlined refresher!

  • @dearerenigma3331
    @dearerenigma3331 ปีที่แล้ว +1

    Thanks a lot, you save my first web project !!!
    You are the goat
    Your video is better than 99% of online formation

  • @Antel_007
    @Antel_007 6 หลายเดือนก่อน

    watching this pretty late but I enjoyed every bit of it. I really love how you made the everything connect and how information can be accessed and modified through different channels. great work. Thanks for this.

  • @GedasBA
    @GedasBA ปีที่แล้ว

    Perfect, I searched for info when I had problem related to connection and data interaction with remote MySQL DB. This explained everything in one place. Thanks!

  • @s1gm40
    @s1gm40 7 หลายเดือนก่อน

    Great video. Love how you should your errors, the error message, and how to fix them. Very refreshing.

  • @Troglodyte2021
    @Troglodyte2021 8 หลายเดือนก่อน

    Man, all I can say is you are such a wonderful teacher, thank you!

  • @Hanible
    @Hanible 20 วันที่ผ่านมา

    woooo this is hands down one of the best videos on the subject I ever watched! sorry if I sound like a bot, but really.. good job sir!

  • @saramaqsood713
    @saramaqsood713 ปีที่แล้ว

    This is the only video I found that actually helped me get my backend up and running! Thank you!!

  • @rajat_171
    @rajat_171 8 หลายเดือนก่อน

    That's the best tutorial for which i was looking for.
    Understood each and every line. Thanks Sam

  • @DiomedesAlexanderVallejo-dx5tk
    @DiomedesAlexanderVallejo-dx5tk ปีที่แล้ว

    This is just a really amazing video, where someone with no idea about NodeJs can start using it with such a great database manager as mysql... GREAT JOB! I am so following you!!!

  • @cloudagnostic
    @cloudagnostic ปีที่แล้ว

    After watching the first 7:45 seconds, I’ve determine you’re the goat! 🐐

  • @Leyksnal
    @Leyksnal 2 ปีที่แล้ว

    I fell inlove with the way you teach and write those lines of code, i haven't started learning SQL Database yet but you have given me heads up. Thank you

  • @arafatsage8415
    @arafatsage8415 ปีที่แล้ว +1

    This is the best video on the face of this earth

  • @DiaryOfLahiru
    @DiaryOfLahiru 5 หลายเดือนก่อน

    I learned lots of things from this video than any other coding video. Thank you very much!

  • @nbamastermind
    @nbamastermind 11 หลายเดือนก่อน

    Yo, Iove your content man. You take the time to explain nuances and potential issues that may arise from certain practices such as SQL Injection. Keep up the good work, you're making a difference out here.

  • @DR.ID123
    @DR.ID123 ปีที่แล้ว +1

    The whole day I have watched your video and finnally solved my issue

  • @khanosman7466
    @khanosman7466 ปีที่แล้ว

    Thanks for your contribution to the dev community

  • @henokegezew924
    @henokegezew924 2 ปีที่แล้ว +1

    Sam your a genius for real I love how you make everything simple and easy to understand keep up the good work my brother

  • @josephuzuegbu7431
    @josephuzuegbu7431 ปีที่แล้ว

    You just created something excellent in less than 30 min. Wonderful

  •  3 หลายเดือนก่อน

    Savage! 28 minutes of mindblowing coding, thx dude!

  • @yicongsui3263
    @yicongsui3263 3 หลายเดือนก่อน

    clear, concise and helpful. Thanks a lot for this nice demonstration, Sam.

  • @stellarhades9517
    @stellarhades9517 7 หลายเดือนก่อน

    Thank you so much, I couldn't find anything specific to what I am trying to do, so finding this was a godsend! Interesting ideas and ways to do this

  • @ramonwest3684
    @ramonwest3684 ปีที่แล้ว

    This cleared up a lot of issues I was having passing query results to the client, great content!

  • @agresiv0
    @agresiv0 2 ปีที่แล้ว +7

    Awesome tutorial man, great explanation and good at sharing best practices, some just do stuff without explaining, thank you

  • @bigbadcatbigbcy2933
    @bigbadcatbigbcy2933 8 หลายเดือนก่อน

    Damn first you solved my server problem and now this. this man is a node.js legend

  • @andrewcenteno3462
    @andrewcenteno3462 4 หลายเดือนก่อน

    As an experienced dev, who mainly works with mongoDb, this video was amazing sir. You earned a sub

  • @HashimWarren
    @HashimWarren ปีที่แล้ว +6

    Fantastic, to-the-point tutorial. Thank you!

  • @belvindaronedymayayakotho2862
    @belvindaronedymayayakotho2862 ปีที่แล้ว

    Thank u a lot for your help. I was looking for many weeks how to connect mysql database from node Js. Now i did it !

  • @SchytexGraphics
    @SchytexGraphics ปีที่แล้ว

    Hi! Maybe you should have said from the start that this is not a beginner friendly kind of thing. Really struggled to understand anything, but that's what you get for being a beginner in this field. Will come back to this video once I get a better grasp of MySQL. Thank you for now!

  • @tongliu9167
    @tongliu9167 ปีที่แล้ว

    One of the best tutorial for mysql node.js

  • @williamhudson7736
    @williamhudson7736 2 ปีที่แล้ว +1

    Thank you thank you! I'm an experienced windows developer but have struggled to find a video that explains the detail you do so I can acutally get my apps to run. You are a great teacher!

  • @thequang9234
    @thequang9234 ปีที่แล้ว

    really really nice tutorial, love that you export your query functions like that, my controllers would look so much cleaner !

  • @CalebRussell-m9v
    @CalebRussell-m9v ปีที่แล้ว

    Thanks so much for this tutorial. I am taking my first step into development and am trying to build an app for my workplace. This has been immensely helpful.

  • @thefirebuilds
    @thefirebuilds 3 หลายเดือนก่อน

    fantastic thank you. I got my app to work just like yours, pretty cool. Please slow down for us newbs :)

  • @JesseFowlerDesigner
    @JesseFowlerDesigner ปีที่แล้ว

    Sam thank you! So informative and easy to follow. I couldn't find the mySQL install video in the description but I did figure it out. Still didn't know where you were running mySQL commands, I had to use MySQL Workbench.

  • @rutvaydhami367
    @rutvaydhami367 หลายเดือนก่อน +2

    Loved your video! One doubt though. Will there be independent database files for every module i have in my application ?

  • @truckermoose
    @truckermoose 3 หลายเดือนก่อน

    Thanks

  • @harumasikuchannel
    @harumasikuchannel ปีที่แล้ว +1

    if you're having a problem with using the Promise API -> await can only be used in an asynchronous function
    use the module type instead to import 'mysql'
    -> 2:08

    • @harumasikuchannel
      @harumasikuchannel ปีที่แล้ว

      using common js ive tried to do require(mysql2/promise) but it still doesnt work

  • @ananthavenkateswarlu5627
    @ananthavenkateswarlu5627 5 หลายเดือนก่อน

    Great content, comprehensive enough, good pace 🙂

  • @bennetstrauch6165
    @bennetstrauch6165 3 หลายเดือนก่อน

    Danke!

  • @paulstone9755
    @paulstone9755 หลายเดือนก่อน

    I want to say Thank you. I really understod the content the why you explained it.. Very Very Nice.. Thannks again.. I learned a lot

  • @ahndeux
    @ahndeux ปีที่แล้ว

    This video is awesome. I wasn't able to get the async function to work properly until I installed note 5.0.0 version.

  • @OceanWest-d7p
    @OceanWest-d7p ปีที่แล้ว

    Thank you for keeping it short and explaining concepts very well. I intent to use this to build on top of GraphQL

  • @mykalesalad
    @mykalesalad ปีที่แล้ว

    Exactly the video I was looking for. Followed along and now I have a great starting point and some knowledge to make my own app. Thanks!

  • @maysa7491
    @maysa7491 2 ปีที่แล้ว

    that's literally all i needed for my 20 makes project !
    thank you

  • @Dev_Jet
    @Dev_Jet ปีที่แล้ว

    Dude, that tutorial was awesome! Thanks a lot for sharing the video!

  • @richhaskell150
    @richhaskell150 3 หลายเดือนก่อน

    Amazingly succinct and helpful. You answered all my questions. Thanks

  • @phillipmartinez4683
    @phillipmartinez4683 4 หลายเดือนก่อน

    Great video, thank you. This was exactly what I was looking for.

  • @bits_und_bites
    @bits_und_bites หลายเดือนก่อน

    very usefull and clear enough for jouniors 💯 . Thank you

  • @Qubit313
    @Qubit313 8 หลายเดือนก่อน +1

    Thankyou sir loved your video! 🥰

  • @raulgarciacastilla7010
    @raulgarciacastilla7010 ปีที่แล้ว

    You made so easy dude!!!! thanks for the master class ☺

  • @austinewell6473
    @austinewell6473 10 หลายเดือนก่อน

    Fantastic. Very easy to follow and to the point.

  • @garonross1934
    @garonross1934 2 ปีที่แล้ว +4

    I just get this error when i run the code at 5:01...
    const result = await pool.query("SELECT * FROM users");
    ^^^^^
    SyntaxError: await is only valid in async functions and the top level bodies of modules

    • @IamNomadSauce
      @IamNomadSauce 2 ปีที่แล้ว

      I get the same issue. im not sure how he is not getting the same error. the createpool doesnt seem to be an async function.

    • @refluent2
      @refluent2 2 ปีที่แล้ว +1

      It is in an asynchronous function. When declaring the function, he specified ‘async function getNotes() {‘

    • @gabexd39
      @gabexd39 ปีที่แล้ว +3

      You have to write "type": "module" in package.json like he did at the beginning of the video, apparently that lets you use "await" without requring to be inside an async function.

  • @bikashkalita8712
    @bikashkalita8712 2 ปีที่แล้ว

    Thanks for the short and crisp tutorial :)

  • @ddlesch88
    @ddlesch88 ปีที่แล้ว

    Thank you. This was insightful and helpful. The explanations are short and concise and gives clear directive as to why you do what you do.

  • @gabexd39
    @gabexd39 ปีที่แล้ว +5

    If you see this please pin it or comment and pin your comment.
    For anyone who gets an error at
    You have to write "type": "module" in package.json like he did at the beginning of the video, apparently that lets you use "await" without requring to be inside an async function.
    Also, async works in Express 4 as well, you don't need version 5 to use it.

    • @Fishamble
      @Fishamble ปีที่แล้ว +1

      Thanks. That had me confused.

  • @nielsvandervelden3063
    @nielsvandervelden3063 ปีที่แล้ว +2

    Your tutorials are fantastic! Would love to see a tutorial on AWS lambda functions and API gateway.

  • @Raquelleist
    @Raquelleist 8 หลายเดือนก่อน

    Amazing video, this helped so much and was very easy to follow. Thank you!

  • @terryyyzhang
    @terryyyzhang ปีที่แล้ว

    awesome!!! That was so helpful. like your teaching style

  • @noir4356
    @noir4356 2 ปีที่แล้ว

    You're saving my life here. Amazing!

    • @SamMeechWard
      @SamMeechWard  2 ปีที่แล้ว +1

      Who needs doctors? TH-camrs are the real life savers.

  • @LucasRodrigues-vs5qj
    @LucasRodrigues-vs5qj 3 วันที่ผ่านมา

    Thanks a lot for this content!
    One question. How can we catch errors in this promises methods?

  • @abeercodes
    @abeercodes ปีที่แล้ว

    That was a great tutorial. I learned what I looked for

  • @A2_26_Tushar_kalaskar
    @A2_26_Tushar_kalaskar 8 หลายเดือนก่อน

    that was great class for me today

  • @xSyrious
    @xSyrious ปีที่แล้ว

    Thank you! This was just what i was looking for!

  • @kottofey1
    @kottofey1 หลายเดือนก่อน

    Dude, thanx for tutorial! Honestly, my first thought was, why the heck a young Hugh Laurie explains JS?? 😂 You REALLY look alike!

  • @arindam-karmakar
    @arindam-karmakar 6 หลายเดือนก่อน

    Really clean, really nice!

  • @sigurdurragnarsson8735
    @sigurdurragnarsson8735 ปีที่แล้ว

    To the point and precise. Great Job!!

  • @Miz-je3hb
    @Miz-je3hb 4 หลายเดือนก่อน

    great video, very simple and detailed, thank you

  • @prayagbhatt5759
    @prayagbhatt5759 ปีที่แล้ว

    This was Awesome Tutorial 🚀⭐I learnt a lot of things trying out different things after what you coded and it was just so so impressive . Thank You so Much !!

  • @Bisiebadboy
    @Bisiebadboy ปีที่แล้ว

    Hey Bro, What is the VSC extension that shows you the suggestions as you start to type allowing you to quickly complete your code??? 🤔

  • @uneland
    @uneland 2 ปีที่แล้ว

    Great content as always Sam, love it!

  • @PureLandTourTourandTravels
    @PureLandTourTourandTravels 6 หลายเดือนก่อน

    This tut helped a lot.Nice💯

  • @CodeWithBehram7497
    @CodeWithBehram7497 9 หลายเดือนก่อน

    The content i was looking for great video much appericiate❤

  • @rahmounioussama1624
    @rahmounioussama1624 6 หลายเดือนก่อน

    Thanks for the video man, it was helpful for me

  • @yangdongjun
    @yangdongjun ปีที่แล้ว

    Great video for mysql and express v5

  • @casteleband6298
    @casteleband6298 ปีที่แล้ว

    This was exactly what I was looking for! Thanks friend 🙂

  • @JohanJurado-is4dx
    @JohanJurado-is4dx 6 หลายเดือนก่อน

    you're amazing, thank you for the video and fro giving such a good explanation.

  • @AmirhusainZarrati
    @AmirhusainZarrati 7 หลายเดือนก่อน

    fantastic ! clear right to the point code , thank you so much . btw how long it took to become this expert 😅 you exactly know what to do in any scenario,

  • @kristapskarnitis9613
    @kristapskarnitis9613 ปีที่แล้ว

    Nice, clean and simple code
    Thank you for the great tutorial!

  • @sofialaas4854
    @sofialaas4854 ปีที่แล้ว

    Thank you! This was a really good and informative tutorial! Helped me alot!

  • @mohitsaud2071
    @mohitsaud2071 ปีที่แล้ว

    Great video. Well explained Sam.