Using Node.js with MySQL - CRUD | XAMPP / PhpMyAdmin

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

КОМЕНТАРІ • 193

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

    Bro, I'm Brazilian and I didn't find this content in Brazil. You helped me a lot with tanks, I wanted to enjoy it more than once.

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

      I am glad to hear that you enjoyed the video. Thank you for watching!

  • @RaddyDev
    @RaddyDev  4 роки тому +8

    Hey! I hope that you find the video useful. Do I have to zoom in more on the code and how is the audio? Don't forget to share the video with your friends, family and pets! Sub amigos y amigas!

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

      Can you create another video on how to integrate this to the frontend/client side?

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

      @@klydeguevarra9160 I can do yeah. I did do one which uses an API and EJS to render the pages. It would be fairly simular

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

      please make more video on Node.js with MySQL

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

      I will be posting a new one today. Thanks for the comment 👊🦍

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

      Pets 😂

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

    man you dont even know aft5er watching these vids for like 2 days BANGING MY HEAD!!!!!! THANK YOU SO MUCH!!!!!!!

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

    Quick Update: The Body-Parser is no longer required as it has been re-added in Express.js. The code is more or less the same:
    // Parsing middleware
    // Parse application/x-www-form-urlencoded
    // app.use(bodyParser.urlencoded({ extended: false })); // Remove
    app.use(express.urlencoded({extended: true})); // New
    // Parse application/json
    // app.use(bodyParser.json()); // Remove
    app.use(express.json()); // New
    Also, I didn't use the connection pool correctly. The code should still work. I will update the article - link in the description.

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

      Thanks Raddy

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

    For those getting error on line 15 at 7:39 following is change :
    app.listen(port, () => console.log("Listen on port %d",port))

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

    Really straightforward tutorial, with a lot new techniques and methods to learn. Helped me so much with my uni project. You are awesome!!!

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

      Great to hear! I hope that you are enjoying your time at university and thanks for the comment

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

    Hey dude this is an incredible video. It would be great if you could do more Node, MYSQL videos where you explain more about what a pool is, for example. I'll look this stuff up myself but I just would like a better understanding of this stuff
    Thank you

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

      Hi! Thanks for the comment. Unfortunately, I messed up the pooling connections bit. I didn't explain it well, and I didn't do it properly which has been bugging me. I am thinking of doing a similar video to redeem myself haha. There is a lot of room for improvement

  • @usamakhan-u4u6b
    @usamakhan-u4u6b Рік тому +1

    outstanding teaching. mentioning mostly important points but if you try a little bit more to cover everything and feature regarding any vedio which you make, it will be owesome.
    By the way, i was searching for such guidance for few days

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

      I appreciate the feedback friend, and I am glad that you found the video. I've put a lot of effort into the newish videos and I am trying to get better 😎👌

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

    Nice video. It's helpful for beginners. Thank u very much ♥️ .from srilanka

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

    Thank you so much Sir! Have a nice and wonderful life!

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

      Same to you, friend!

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

    thankyou so much your code on site helped me to connect the mysql i was tired to watch youtube videos but nothing was working.

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

      I know the feeling especially if you try for ages or you need it done quickly. I am glad that you found the blog post helpful. Thanks for the comment!

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

    Best video, Raddy! I want to use MariaDB in my project and any of the tutorials I followed did not work, until I tried yours :)

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

      I am glad that the video was helpful! Thank you for the comment!

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

    Super buddy! That was an awesome way with the explanation part for node.js crud operations basics.

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

      Glad that you found the explanation easy to follow. Thank you for the comment!

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

    Fantastic Tutorial !

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

    great tutorial thanks

  • @TheProGamerVibes
    @TheProGamerVibes 10 місяців тому

    nice example. very simple, thanks

    • @RaddyDev
      @RaddyDev  10 місяців тому

      Glad you liked it!

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

    That was simple and very efficient ...u helped me a lot ...thanks ♥️♥️

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

    Big thank for this nice video

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

    I have no friends or family member who is programmer, so i just liked and subscribed ... Is that okay???😜😜😜

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

      No pets either? I will let you off this time
      because you liked the video and subscribed. Thank you! 👊🦍

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

    Thank you so much, saved a lot of time for me

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

    Very helpful, thank you so much!

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

      Glad it was helpful!

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

    Hi, Thanks for the video, i want to show data in the browser as it is shown for you, (it is shown but in a messy look), how can I do that ?

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

      To display data in the browser there are quite a few options. I like to use the EJS or Handlebars templating engines. Then to make look everything nice you could do custom CSS or choose a library such as Bootstrap or TailwindCSS. I have a few tutorials on EJS, Handlebars and some of them use Custom CSS and some Bootstrap. Feel free to check out the Node.js playlist on my channel

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

      @@RaddyDev Thanks for the reply, i think id didnt explain my need as wanted. Anyway i just find the answer, i installed an extension called JSON viewer. Hope that helps. Thanks again.

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

      I misread it 🙂. Glad that you found a solution anyway

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

    Very helpful ♥️♥️

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

      Appreciate your commitment! Thank you

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

    thank for the video, I have learned a lot, in spanish there arent so much infomration, I hope belong in a great programmer.

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

      Glad to hear that! Maybe it's a sign that you start one. I am sure that you will become a great programmer 👊🙂

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

    Excellent tutorial 🙂

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

    Great video. How we can make with node and express XMLHttpRequest? and how we can cache sql queries with api? to avoid making multiple calls to the DB

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

      To make XMLHttpRequeats you could use the npm package called Axios. I think that I've made tutorials on it (check the nodejs playlist on my channel). Axios makes it super easy to do. Caching the queries is a tricky one to explain here. There are some great articles on Medium on that. I might look into doing a tutorial on that at some point. Thanks for the comment!

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

    Thank you so much raddy

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

      Thanks for watching once again Anish! 😎

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

    Thanks, Raddy!

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

      Thanks for the comment, Ester!

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

    Great vedio .Really enjoyed it. can you do a another vedio of how to do crud operations using form in node js using mysql

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

      You are here just on time. The full crud video is coming out tomorrow. Thanks for the suggestion and comment 👊🦍

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

    thank you it was Awesome

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

    I have a question, the app folder is in C:\xampp\htdocs?, i could't run the app with XAMPP

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

      Have you started all services? Laragon is another alternative if XAMPP is not working for you

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

    Thanks for this exemple but I would like to see, if you want to do, the same example with an index.ejs page in place of "postman" :) (excuse my bad english !)

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

      I am definitely going to do a full CRUD page with ejs soon. Thanks for the suggestion and your English seems fine

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

    Can I pass more parameters when requesting the API?
    Like the name of the table, or the entire clause?

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

      Yes, of course. You can pass as many parameters as you need

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

      @@RaddyDev
      How great, and what would it be like if I wanted to dynamically send a table name?
      My goal is to make a code that can be applied to all tables.
      I want to avoid a code for each table.
      My current system has more than 600 tables.
      Another thing: Would it be possible to send the entire clause to the API? In the case of a SELECT?

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

      @@lcnebenzah I don't see a problem with sending a table name. You could do it with a drop-down, input or whatever suits your application. Wow 600 tables is a lot! Did you mean table rows? About the API, you could do that. I guess you will have to make a form and then post the select value - then use that value for the API. I think that the simple News website that I made with Node.js and express does that. I used an API and then posted different values to get a different output

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

      @@RaddyDev
      Thanks for the answer.
      My system is complex, and there are 600 tables in mysql really.
      I am refactoring my system that is in PHP.
      This system started with Visual Basic based on Acess, then it was refactored in pure PHP in MySQL, then it was refactored in a platform called ScriptCase, which is PHP, but joins JS.
      Where it's been for 6 years and now I'm starting a refactoring for VUE. I forgot to talk about it, the way that the API will be consumed is through a VUE application.

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

    Hi Raddy. Can you please guide how to use joi validations here?

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

      I could potentially make a video on it, but it's going to take some time

  • @jesrylpalmes6905
    @jesrylpalmes6905 6 місяців тому

    thanks boss ❤

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

    thankyou brother

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

    Amazing video thank you!

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

      Glad you liked it! Thank you for watching

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

    Great 👍

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

      Thank you! Cheers!

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

    Raddy, I got everything to work perfectly -thanks. Is there a way to hook up THIS code to a front end webform and do all the crud from an html form? I'm not sure how to apply this backend to a real webpage

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

      I actually made a video on that: ua-cam.com/video/1aXZQcG2Y6I/v-deo.html
      Just read the pinned comment on top of the video when you get to the body-parser and the connection pool bit

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

      @@RaddyDev Thanks very much

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

    oh man you save me thank u very much

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

      That's awesome, Ali. Glad that you found it useful!

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

    love from india

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

      Thank you, my friend!

  • @ncv-nocopyrightvideos4475
    @ncv-nocopyrightvideos4475 3 роки тому

    Sir how can we do this, like lets suppose on frontend we have a section to add books for eg: book code and book name and their is a btn which will duplicate that book section so that we can add a second book and in this way we can add multiple books so we need to add column according to mysql table. how can we do this.
    another example: we are creating a single blog post and their we want to add some categories show the first blog post might have 10 categories and the second blog post might have five categories so how can we update our my square table accordingly.

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

      For some reason I didn't see your comment. You could watch watch the user management video that I made or the new one where I build a simple recipe website. Both of them will show you the concept of how to create forms and submit some data. I assume that this is what you want to do

    • @ncv-nocopyrightvideos4475
      @ncv-nocopyrightvideos4475 3 роки тому

      @@RaddyDev Sir I've watched that video and also implemented all those things which you taught us in that video, but I'm looking for something different, I'll send you a photo of what i want on Your Instagram.

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

    Hi Raddy, how can I deploy this. Since, it's backend, I'm guessing it's not as simple as front end only applications?

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

      Hey, it's not as easy as front end application, but it's not too hard. It's mostly just following a few instructions and usually, you can do it with the CLI which is not that scary.
      Give it a try. Heroku has a hobby tier that is free and they make it super easy to do. I actually have a video on that in the Node.js playlist. Have a great weekend and deploy! 😀

  • @joyboy9511
    @joyboy9511 11 місяців тому

    very nice vid.

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

    Hello Sir, I'm watching from the philippines and you have help me a lot, can you please make another video about this but connecting the NodeJs to fetch data from an HTML Form and also insert that data to the database? Thank you so much!

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

      I am glad that you found the video useful. I do have one video in my Node.Js playlist that is using a form, but the video is fairly long as it's a full-on project. I will think about it, maybe I can do a short one

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

      @@RaddyDev Thank you so much sir, i'm creating my capstone and unfortunately this wasn't even taught to us, It was really really helpful to me. More power to your channel Sir!

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

    Hello, im doing exact same but its not creating app in my folder, what may be the problem? i have node js installed on my machine

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

      You need to make sure that you are installing the project in your folder. To do that make sure you "cd" to it in your command line / powershell. You can use "ls" to list the folders and "cd" to go backwards and forwards. Once you select your folder "cd project" then you can do npm init there

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

      @@RaddyDev Thank you for reply! I've discovered that it was Unstable Version's fault, i have downloaded stable version of nodejs and it worked. Thank you!

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

    thank you so much!!

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

      Most welcome! Thank you for watching 👊🦍

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

    Thank you !

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

    Hi.sorry I follow yours, but on my insert is not works Got failed in SQL synta.Can guide how to solve this problem. Thanks

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

      Sorry to hear that! Yes, of course. It could be a silly typo. Is there any way you can show me your code?

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

    Thank youuu!!

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

      Thank you for watching! I hope that you found it useful

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

    Awesome 👍

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

      Thank you! 👊🦍

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

    Glad i found this, keep it coming.

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

      Awesome, I will do that! Thanks for the comment

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

    how to check existing row by id then delete it in delete method

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

      There are a few ways of doing that. You could do something like
      SELECT EXISTS(SELECT * from ExistsRow WHERE id=77); Basically you can use the "exist" condition

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

    How can we active the delete action in a Href ? Thank you !

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

      I am making a tutorial on that right now. It's going to be a full CRUD application. To answer your question there are a few ways of doing it. You could create a page "delete-records" that grabs the data and removes it. Then your link could be something like this

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

    This is not efficient way to query the database, you need to create a pool connection, and use the pool inside a route/controller. To use async await, you need to promisify your pool query and utilize the query into a functions so you can be able to share those functions as model through your server and avoid repeating yourself over and over. So, MVC will be a good approach.

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

      That is true. I might need to do a follow up video. Thanks for the comment

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

    Thanks

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

      Thank you for watching!

  • @DevLearn-lv7nr
    @DevLearn-lv7nr Рік тому

    you missed a trick at just before @22:00 LEAVE THE COMMENT IN - comments are so helpful to assist in the understanding - the more comments the better ! - thanks

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

    why do you use body-parser?
    why don't you express.json? isn't it the same?

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

      At the point of recording the video, the body-parser wasn't included in Express. It's the same thing. I might need to put a note somewhere on the videos that you don't need to install the body-parser anymore

  • @Bhavin-Patel
    @Bhavin-Patel 3 роки тому

    How to run node js service in background and auto restart on rebooting the server

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

      It might depend on the service that you are using. On Windows, I guess you could create a batch file that auto starts it. On Heroku, they have Node Heroku Client

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

    I constantly get the error Handshake inactivity timeout when I try to connect to the server.

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

      Have a look at the answers here: stackoverflow .com/questions/35553432/error-handshake-inactivity-timeout-in-node-js-mysql-module
      I hope this helps :)

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

    This is the first time I have been able to work mySQL with Node I always had trouble...Mongo i never had an issue but mySQL meh.. Thanks a lot
    amd I really dont get it , why do the always play aroudn with body-parser, this see saw of includng and eexcluding it as a express function

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

      Yeah I don't get it about the body parser. It's kind of annoying now haha. Glad that you where able to work with MySQL. It's quite nice and easy to get started I guess. I do like MongoDb and I need to explore it a bit more. Firebase is amazing, but I mainly use it with Angular

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

    bro i am having the trouble its showing the same error when we setup the connection

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

      What does the error say?

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

      @@RaddyDev actually it says cannot Get can please share your email so we ca n discuss it

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

      That's not a problem. Carry on from that point on the video. You basically need to do a routine... Just watch it from there and it will make sense. Also the code is on my blog, link in the description

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

    Reference error: connection not defined. line 28. Any ideas?

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

      Did you define your MySQL connection? What do you have on line 28?

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

      @@RaddyDev connection.query('SELECT * FROM beers', (err, rows) => {

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

      @@jinyuchan3983 it's going to be your connection. You can reference the code from here: raddy.co.uk/blog/using-node-js-with-mysql-crud-xampp-phpmyadmin/ If you have any problems let me know. You can email me your code or join our Discord group :-)

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

      @@RaddyDev thanks for the kind response~

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

    if i have no password for mysql createpool what can i put for the password...

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

      Leave empty or create password

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

      @@RaddyDev thank you, and for create operation, iam getting an error like you have an error in your sql syntax.

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

      If I've had an error I usually show how to fix it straight after

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

    Can you create full web site Node.js with MySQL - CRUD (not with | XAMPP / PhpMyAdmin)but the real version of mysql and add html css

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

      Using the MySql Workbench?

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

      @@RaddyDev yes and add html, css

  • @mente-de-trader
    @mente-de-trader Рік тому

    Olá!
    🤠

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

    I didi everything fine but it only shows 16000 but doest no count subscriber like 16686 what we can do for it??

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

      Read their community post regarding that

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

      @@RaddyDev no their is no any community post regarding this 😔i didi everthing perfect but its not counting real time moving numbers of subscriber 😔😔😔 highly appreciate if you teach how to do that❤

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

    R.E.S.P.E.C.T. CHAD

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

    How to connect mysql with node js in Linux Ubuntu?

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

      Ubuntu would be exactly the same as Windows. As long as you have XAMPP (or similar software) installed, you can run your database locally and use the same process

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

      @@RaddyDev ok thanks a lot... 👍

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

    Hi how can I fetch the data from this api ?

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

      Which API is that? For fetching data you can use Fetch or something like Axios. They make it very easy to fetch data from an API

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

      @@RaddyDev Hi I am trying to fetch with fetch('localhost:5000/') from different site I have followed the toturial to SELECT ALL part I ran to cors error I tried to fix that with cors library and it doesnt work ([nodemon] app crashed - waiting for file changes before starting...) I have tried
      const cors = require('cors')
      app.use(
      cors({
      origin: "*",
      })
      )

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

      ​@Egel The cors implementation looks correct to me. Is there a specific error message that you get as it's hard to guess what it could be

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

      @@RaddyDev update from me it was error on my end now it works I am glad you made this tutorial thanks

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

      I am glad that you fixed it

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

    i need to learn one to many, one to one and many to many relationship

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

    Please make one video on live subscriber count real times

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

      This video has nothing to do with Subscribers lol

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

    Help me please i have no idea now i got everything perfect but only sub counting in not working please tell me clearly how to do please or make one video

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

      woo another message!

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

    Good

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

    Insert and Update is not working now

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

      What happens? Do you get any errors? Debug as much as you can, I am sure that it's something small that can be fixed quickly

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

      Just tweak the Header > Key: Content-Type Value: application/json in postman
      this should display the json in the body now.

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

    Лезги программист гадаяр авани ина?

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

      Аз съм от Източна Европа 👍

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

      @@RaddyDev Яда вун лезги яни? Къала са кьве гаф лагь лезги ч1алал чан бала

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

      @@RaddyDev А так урок просто бомба, все четко и понятно 👍

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

      @@abdullahshirinov3506 sorry I don't fully understand this

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

    I liked your video because I got so much into Mongo that i left sql 2 years ago Your video helped to get back to track... Thanks and here is like, subscribe and Comment from me as a return

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

      I am glad that you liked the video! Thank you for the sub and nice comment! 👊🦍

  • @HHH-tk7vq
    @HHH-tk7vq День тому

    really bro? 50 minutes?

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

    hello

  • @JUANFLORES-nr7kt
    @JUANFLORES-nr7kt 3 роки тому

    No se nimerga no entiendo ingles

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

      Es posible que pueda encontrar algunos tutoriales en español en UA-cam. No estoy seguro de si los subtítulos funcionan en otros idiomas sin traducirlos manualmente

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

    thank you for this video it helps me a lot but ""${[req.params.id]}"" is not read in source-code, if you can solve this problem.

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

      With template literals you need to you the slanted single quotes. Like ` this `. Double quotes won't work there because of the dollar sign and the curly brackets. I hope this solves your problem, Rajhi :)

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

    Thank you soooo much!!!

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

      Thank you for watching!