Deploying A React, Express, MySQL Website Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 271

  • @hacza212
    @hacza212 3 года назад +35

    I'm so glad I found this hidden gem, I find deploying so confusing and it's so hard to find such detailed tutorials on it. Thank you Pedro

    • @PedroTechnologies
      @PedroTechnologies  3 года назад +2

      You're very welcome! I am really glad you liked it!

  • @steellegs3270
    @steellegs3270 9 месяцев назад +3

    3 years later and it still works! Before trying this one I struggled with the Railway db--a similar tutorial suggested that one, but this is the one that I got working. Yay!

    • @joehutchinson248
      @joehutchinson248 9 месяцев назад

      is cleardb mysql still free? it isnt for me

    • @meeee884
      @meeee884 5 месяцев назад

      @@joehutchinson248 nah it all paid now

  • @joseisraeldiazzapata5179
    @joseisraeldiazzapata5179 4 года назад +2

    aaaaaahhhh this is awesome asdasdasd, a lot of channles only teach deploy with mongoDB, mongoDB all day omg. Finally a tutorial for mysql, thank you so much Pedro, this is perfect

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      Hahahaha I apreciate the support! If you have any errors/questions please let me know and I will help! Good luck!

  • @blops649
    @blops649 3 года назад +5

    You are my hero, every issue that I ran into you addressed and fixed perfectly. 10/10 thank you

  • @softblood1941
    @softblood1941 4 года назад +2

    your videos are charm ! better than many popular coding channels. Iam glad i found your channel, many thanks from greece

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      Really appreciate ur comment! Makes me happy to see I am being able to help you! I am glad you like my channel!

  • @duongnguyenlenhat3058
    @duongnguyenlenhat3058 3 года назад

    Thank you so much Pedro, I am from Vietnam, your work helped me a lot! Keep these tutorials on FIRE! I appreciate a lot

  • @suem5721
    @suem5721 4 года назад +2

    Thanks to your video, i was able to make my college assignment easier! 😆And also back-end developing became interesting;) i’ll cheer for you from South Korea😃

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      Glad it worked for you! I am glad I was able to help!

  • @learningcore289
    @learningcore289 3 года назад +9

    Hey! I am also getting the same CORS error that you got at 26:27 while deploying my react app I don't know how to fix it. Please help bro !! Thanks😢

    • @boogfromopenseason
      @boogfromopenseason 8 месяцев назад +1

      Did you get the solution? I am having the same problem. He probably should've went over it in the video.

  • @MrGhostSniper95
    @MrGhostSniper95 2 года назад +1

    thanks man, since i found u my life is easier.

  • @dharunanand9441
    @dharunanand9441 3 года назад +1

    Thanks!

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      Thank you so much for the support Dharun! Happy I could help :)

    • @dharunanand9441
      @dharunanand9441 3 года назад

      @@PedroTechnologies been following your React CRUD tutorials and for a beginner I’m doing much better than I hoped

  • @ThColinPereira
    @ThColinPereira 3 года назад +1

    thanks for this video pedro! this once again helped me a lot! looking forward to seeing more of your amazing content

  • @abhishekrawat8579
    @abhishekrawat8579 3 года назад +2

    26:27 bro help me...there I'm getting same error even after adding origin to cors() 🙏🙏

    • @navyaraga6504
      @navyaraga6504 3 года назад

      Even me too... I'm facing the same issue. Did you resolve it?@coder-abhk

  • @TheMorrigan
    @TheMorrigan 2 года назад

    bro u made my whole tasks in my internship easy, thank u!

  • @harisvasilakis6166
    @harisvasilakis6166 3 года назад +1

    I get the error you get at 26:29 , how did you fix it??

  • @Sedent333
    @Sedent333 4 года назад +1

    hello, im trying to deploy a chat app with socket.io, not sql and in the minute 3:18 when i do heroku git:remote -a chat-app--socket-io it shows a message that says Error: Git must be installed to use the Heroku CLI , however git is installed and i can do git init without a problem, how can i solve this ?

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      Wow this is a weird error! Never seen this before, I will search it. If I find a solution I will let you know. I have deployed a chat app with sockets before and didn't encounter this, but I will look at it!

    • @Sedent333
      @Sedent333 4 года назад +1

      @@PedroTechnologies hey everyone i finally found how to solve this but its a strange solution and i´ll share it in case it help someone, so when i go to github/settings/applications i have installed heroku and in autorized github apps and autorized oauth apps is all authorized but that was not enought to break the github security, i found that i have to create an organization, enter the organization menu, enter in "installed github apps" and allow the app in there, i dont remember if i did something in the security menu too, now why does that worked and why do i have to do that, no idea.

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      @@Sedent333 Hahaha "why does that worked ... no idea" every programmer relate to that! Thank you so much! This video showed me how many bugs and problems people can encounter while deploying. Ive been through many of those, but some of them I had never seen, so I couldn't help! Thank you for sharing the solution!

  • @davidmel9069
    @davidmel9069 3 года назад +1

    Big Thanks my man. A perfectly explained tutorial. You're my Hero ♥️

  • @lucasjamilpodestaalvarado7463
    @lucasjamilpodestaalvarado7463 2 года назад

    Thanks for the tutorial. This helped me a lot for the deployment of a MySQL Server. Now me and my team can work with the free DB!

  • @martinchou1
    @martinchou1 2 года назад

    I'm so thankful for this awesome tutorial! You helped me a lot. Finally I can public my project.

  • @connergoldberg
    @connergoldberg 4 года назад +1

    Thank you so much for this well put together and well thought out video man. Keep up the good work!

  • @aneeshbhattacharjee1197
    @aneeshbhattacharjee1197 Год назад

    18:28 the schema has been imported, but where is the data? is there a way we can import the data as well?

  • @devongrey1237
    @devongrey1237 2 года назад

    youre awesome man, this was insanely helpful!

  • @iqoolll
    @iqoolll Год назад

    Nice thank you for showing all of the mistakes, and error! it really helped me to avoid the same problems!

    • @abirhal2391
      @abirhal2391 Год назад

      Is you use an paid plan on heroku? because I did get that interce like him on my case?

  • @INfoUpgraders
    @INfoUpgraders 4 года назад +3

    Great video, glad to see you're doing something between/after the puppeteer series. Although I don't recommend these free ways but rather paid ones!

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +2

      Thank you! I am still doing the puppeteer series, should probably finish it next week. I will be alternating between posting for that series and other material! I am also preparing some long term videos like a full GraphQL Beginner tutorial, and some videos on Sockets using React!

    • @INfoUpgraders
      @INfoUpgraders 4 года назад +1

      @@PedroTechnologies very nice, can't wait!

  • @dereklofton749
    @dereklofton749 3 года назад +1

    Pedro the error that you received in this tutorial "blocked by CORS" is exactly hat I'm getting, what did you do to correct this?

  • @peterkerr9685
    @peterkerr9685 Год назад +1

    Hi, I've got my server and client directories separate with a Git repository in the parent directory containing them both. Is there a way for me to host the whole thing on Heroku without needing to have separate repositories for both the client and server?

  • @x225francx
    @x225francx 9 месяцев назад

    Bro if your video didnt exist , i'd never figured out how to deploy a react app even on a test server , +1

  • @chovbee
    @chovbee 3 года назад +6

    Hey man! Awesome video! I was just wondering, how did you solve the cors problem? I started getting that error but I have the cors package being used in my express app so I'm a little confused. Thank You!

    • @jonashafner4656
      @jonashafner4656 2 года назад

      I have the same problem, could you solve it?

    • @jeanelodie222
      @jeanelodie222 Год назад

      @@jonashafner4656 Do you have found the answer ?

  • @brunosoltoo
    @brunosoltoo 2 года назад +1

    is it a better idea to start developping directely in the database in the heroku, instead of locally?

  • @benrogers5736
    @benrogers5736 3 года назад +1

    Thanks so much man, this tutorial was really helpful

  • @margaridalopes5810
    @margaridalopes5810 3 года назад +7

    Hey Pedro!
    Great tutorial, as always!
    I'm having that cors problem :(
    How did you fix it?
    thanks in advance :)

  • @arikmosfor4907
    @arikmosfor4907 2 года назад

    best video and explained well in youtube.

  • @apeiron4409
    @apeiron4409 4 года назад +4

    Thank you for this video! It really helps! I have some questions
    1. Is there a reason of deploying client and server separately instead of deploying all together in heroku?
    2. After making a build in React, do I need to build everytime again when I change the code?

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +4

      Hey, thank you for watching! The reason why I separate the client from the server when deploying is cause I just prefer this method altogether. Separating them is more able to scale, and will provide me better info regarding errors. For example, whenever there is something wrong that I see in the heroku console, I know its caused by the server. I usually recommend separating, but for small scale projects its not necessary!

    • @apeiron4409
      @apeiron4409 4 года назад

      @@PedroTechnologies Thank you!

  • @tmvideos3470
    @tmvideos3470 3 года назад +2

    Thank you so much! This video is a masterpiece :D

  • @一脸滑稽-k5v
    @一脸滑稽-k5v 2 года назад +1

    Hi, I've problems, I tested with postman and my heroku server seems to be working. However, My Netlify React App cannot send request to Heroku. It says 404. I set proxy in React package.json to be the URL of Heroku server. Is there anything wrong?

    • @abirhal2391
      @abirhal2391 11 месяцев назад

      any solution ?

    • @一脸滑稽-k5v
      @一脸滑稽-k5v 11 месяцев назад

      Oh ha ha it was long time ago I already forgot how I solved it ~~~ I think maybe I set some configurations in one file?? and later it worked@@abirhal2391

  • @realhavir1295
    @realhavir1295 2 года назад +2

    TO ANYONE HAVING THE CORS PROBLEM, The solution is simple and I found it by going through the app logs.
    Solution:
    const PORT = process.env.PORT || 3001;
    app.listen(PORT);
    Heroku needs to set it's own port, that's why your app was going bonkers.

  • @Vishantrastogipr
    @Vishantrastogipr 3 года назад +1

    I can't get the data from database, API is being hitting and frontend works too but can you please tell if we need to change something more in node app to get/post the data from db??
    Error Code: ECONNREFUSED, ErrorNo : -111

    • @nearmint8350
      @nearmint8350 2 года назад

      same error! did you solve it?? please :)

  • @barakm25
    @barakm25 11 месяцев назад

    thank you so much for uploading this great tutorial!!!

  • @ilhamadiputra4745
    @ilhamadiputra4745 4 года назад +1

    bookmarked! because my little project haven't completed yet

  • @jlopezz310
    @jlopezz310 4 года назад +1

    I am glad I am making progress. I was able to setup the Heroku and Netlify. I have the build already deployed on Netlify. But why does the website load the page for 1 second, then goes to blank white screen after?

    • @PedroTechnologies
      @PedroTechnologies  4 года назад

      Hey, I have never seen this. Can you send the link here?

  • @yujingyao2862
    @yujingyao2862 2 года назад

    hi can i ask why cant we deploy front end and backend together on heroku instead of deploy frontend and backend seperately

  • @alvaroambiorixmarcelinotav6536
    @alvaroambiorixmarcelinotav6536 2 года назад +1

    How can I do it in firebase hosting?

  • @stefler87
    @stefler87 2 года назад

    Hmm so I all seems to be working, but Its not getting any data on the pages where I have my axios calls. My network tab gives me a 503. But I don't seem to have errors anywhere.

  • @37375297
    @37375297 11 месяцев назад

    Hi man, can I ask a question unrelated to the video? In your video where you teach how to deploya full stack project 'Deploying A React, Express, MySQL Website Tutorial', I managed to do everything correctly. But after a while the heroku connection with mysql drops. When I do git push heroku it works, but if I spend a few minutes without using the PC, it seems that the heroku url no longer connects to my sql. Do you know what it could be? Thank you very much, I'm a big fan of yours

  • @p0mf47
    @p0mf47 3 года назад

    $ git add .
    error: open("e tell me who you are."): No such file or directory
    error: unable to index file 'e tell me who you are.'
    fatal: adding files failed

  • @JonnyPerez-zr6lq
    @JonnyPerez-zr6lq 2 года назад

    How did you fix the CORS issue? i'm getting that error but i'm alreading using cors as a middleware in my server.

  • @AnthonyTurtlesDude
    @AnthonyTurtlesDude 2 года назад +1

    Hi Pedro, I'm working with something similar but with phpmyadmin. When I go in to change the axios calls from localhost what should I paste there instead? Would appreciate the help if you can!

  • @ryhorecords
    @ryhorecords Месяц назад

    My friend you stopped the video right when I started having issuess ...when you finished building did the project start right away? I wish I saw what kind of configurations you did

  • @andrewr4908
    @andrewr4908 3 года назад +1

    There's something I don't understand. You run 'npm build' to create the build directory. However, this change was 1. not pushed to github, and 2. the .gitignore file ignores this build directory anyway. So how does Netlify have any idea that the build folder exists?

    • @TheLucioGamePlay
      @TheLucioGamePlay 2 года назад

      It's when you're creating your netflify site, you're adding a build command that runs the build on your repository files

  • @Mor3311
    @Mor3311 3 года назад

    Great tutorial, helped me a lot!!
    thanks so much! :-)

  • @joaomendes6802
    @joaomendes6802 2 года назад

    Hey, thank you so much for sharing it!
    Congratulations!

  • @krystalcanfield9492
    @krystalcanfield9492 3 года назад

    Awesome video! I had to change it to git push heroku main to get it to work.

  • @rprokopiak95
    @rprokopiak95 3 года назад

    it's jusing Heroku mySQL extension. What if I have my own mySQL on the hosting? How to connect it to the react app? I am looking and looking and have no idea how to do it

  • @genisyys_5710
    @genisyys_5710 3 года назад

    when deploying, what do you use instead of the LOCALHOST as the URL in the axios.post request on your frontend?

  • @audioaestheticinc4107
    @audioaestheticinc4107 3 года назад

    asking, if i deploy medium enterprise site.. what database should i use.. or i keep using free version from heroku?

  • @muazzakaria6390
    @muazzakaria6390 3 года назад

    I got an error when trying to create table because i got a json in the column. It says "JSON IS NOT VALID IN THIS POSITION, EXPECTING BIGINT, BINARY ..."
    Do you know how to resolve this issue

  • @AIO2005
    @AIO2005 4 месяца назад

    which sever you used for my sql i am using xampp plase let me know

  • @tika8134
    @tika8134 2 года назад +1

    Hi Pedro! I'm also facing the same CORS problem at the end. It says Access to XMLHttpRequest at 'myherokuurl' from origin 'mynetlifyurl' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Could you share how did you solve this. Thanks a lot!

    • @ammarali3589
      @ammarali3589 2 года назад

      Did you push the server/index.js file into the repo again after mentioning db creds?
      I was also facing this cors issue and now its fixed because I forgot to push the code after making changes to db creds.

  • @guillaumedrolet9486
    @guillaumedrolet9486 3 года назад +2

    what did you do with the core error i've got this thks

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      You need to apply the cors middleware (app.use(cors)) and make sure u dont have yarn and npm in the same project

    • @makombekepha
      @makombekepha 3 года назад

      @@PedroTechnologies I still have the CORS error please help, two weeks now

  • @ajitroy1966
    @ajitroy1966 2 года назад

    Thank you so much for this tutorial ❣️

  • @manojmenon5020
    @manojmenon5020 3 года назад

    Can you please help me with my question: i have base64 value in node js..but it gets stored as null in mysql...even i tried using blob as datatype but its not working.please help me

  • @tegaogheneovo5881
    @tegaogheneovo5881 2 года назад

    ohh shiit morty pedro got it ..deploy finally lets go

  • @javswbstudios458
    @javswbstudios458 3 года назад

    What is the difference between doing api calls the way you did it and putting a files on a web hosting server? is there a difference?

  • @GeistDev
    @GeistDev 2 года назад

    How did you fix the error at 26:30 ?

    • @ammarali3589
      @ammarali3589 2 года назад

      Did you push the server/index.js file into the repo again after mentioning db creds?
      I was also facing this cors issue and now its fixed because I forgot to push the code after making changes to db creds.

  • @蹦太君-o4d
    @蹦太君-o4d 2 года назад

    I have problem, my post request in netlify can not working , it just return 503 error, how can i solve this question? 😣😣

  • @robertcampos7902
    @robertcampos7902 3 года назад +1

    I really appreciate bro this video, so helpfull

  • @hk_driving3178
    @hk_driving3178 4 года назад +1

    Good work 👍
    Keep it up 💪

  • @louisefrylinck3859
    @louisefrylinck3859 Год назад

    Hi, what was the error you thought was a CORS error? I have the same issue. How did you solve it?

  • @Vir7uaLGameplays
    @Vir7uaLGameplays 2 года назад +2

    Hi Pedro first of all I love your tutorials. Do you think you can make a tutorial similar to this one but using only Cpanel? No Heroku, no Netlify because I already own a domain and I wanted to make my app work intirely on my hosting service

  • @elizabethsantos4267
    @elizabethsantos4267 2 года назад

    how do you solve the == has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource problem?

    • @Vir7uaLGameplays
      @Vir7uaLGameplays 2 года назад

      I'm having the same issue here. Did you find a solution?

    • @reggireggie
      @reggireggie 2 года назад

      I got the same problem. Not sure what it is but its coming from my GET just like what pedro showed that he said it was a dumb problem.

  • @aqsbaticos
    @aqsbaticos 3 года назад +1

    Is there any other way to copy your local database structure and data to the new database? I tried your method but I just thought it would be too taxing on my time to copy->paste the existing schemas, procedures, etc. I tried using dump files, but I unfortunately couldn't import it to the new database because of security reasons.

    • @PedroTechnologies
      @PedroTechnologies  3 года назад +1

      You can migrate by exporting the old database. Not sure how to bypass the cleardb security issues though

  • @junjietan2668
    @junjietan2668 3 года назад

    Hi Pedro, Just wondering why my backend api from Heroku site has turn to application error after second/third time refreshing. Is the server not robust enough or if have several issues during my api? I did checked for my API as well...
    Thank you very much.

  • @jasonmoldovan1551
    @jasonmoldovan1551 3 года назад +1

    Hey Pedro, I finished the video and everything works great. expect for the fact that if I use my application just once, the backend from heroku shows that error that said, "Application error
    An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
    heroku logs --tail".
    Again. It works fine after I push into the heroku repo but only for one use. If I refresh the page or try using a different device to test my project, the backend disconnects. please help.

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      Hmm this can happen because of many things. Can you link ur project here?

    • @jasonmoldovan1551
      @jasonmoldovan1551 3 года назад

      @@PedroTechnologies It's very odd. it turns off and on whenever it feels like.

    • @asifrasheed4078
      @asifrasheed4078 3 года назад

      @@jasonmoldovan1551 Did you find the solution of this? I am facing the same issue :(

    • @jasonmoldovan1551
      @jasonmoldovan1551 3 года назад

      @@asifrasheed4078 i honestly don't remember, sorry.

  • @teddy3387
    @teddy3387 4 года назад +1

    hi pedro i'm having a problem it seems like my heroku keep showing "Application Error" stuff, at first it was working perfectly but the next day it isn't, why i wonder?

    • @PedroTechnologies
      @PedroTechnologies  4 года назад

      Hey, so heroku has some problems which is pretty annoying, basically they don't provide any help with catching and handling errors. So this might be happening if you have some part of ur code which u are not handlind errors. For now you can run "heroku restart" and it should restart the server!

    • @teddy3387
      @teddy3387 4 года назад

      @@PedroTechnologies Hello, it is just as you said heroku have several problem with handling errors, i tried to restart it and it works! thanks!!!

  • @danielthefox2187
    @danielthefox2187 3 года назад

    Okay, now I've come across a new problem. I got the [remote rejected] error as in your video but I don't have yarn installed so I don't know what's causing the error

  • @גלמלאך
    @גלמלאך 3 года назад +1

    Great video! Is there an efficient way to change all the calls to the server instead of going through one by one and changing the Url?

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      Yes, you can just create an env variable that represents the server url

  • @bhargavgopallanke9145
    @bhargavgopallanke9145 3 года назад +1

    Hi Pedro, I'm getting errors while deploying the client (Front-End) in netlify. In the post.js page, I'm getting an error ("React Hook useEffect has a missing dependency: 'postId'. Either include it or remove the dependency array react-hooks/exhaustive-dep "). Please help me to resolve this issue. Thanks in advance.

    • @PedroTechnologies
      @PedroTechnologies  3 года назад +1

      Hey, apperently u have a useEffrct with a dependency called postId which is undefined. Can u send here the code for that useeffect?

  • @LuisHernandez-so8vu
    @LuisHernandez-so8vu Год назад

    Hello Pedro, did you find any solutions for the cors error ?

  • @him99ful
    @him99ful 3 года назад

    Amazing. You explained very well. One doubt . After creating npm build, we need to push it again right?

  • @DanielFernandez-eo2ry
    @DanielFernandez-eo2ry 3 года назад

    Thanks a lot this was really helpful

  • @iwayanbagus2271
    @iwayanbagus2271 3 года назад +1

    thanks for sharing! helpful!

  • @danielthefox2187
    @danielthefox2187 3 года назад +1

    when I typed git init, it gave me this error. "The term 'git' is not recognized". why?

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      That is weird! Do you have git installed?

    • @danielthefox2187
      @danielthefox2187 3 года назад

      @@PedroTechnologies don't worry, I fixed it. I just simply restarted Visual Studio 🤦‍♂️

  • @rockycalo2608
    @rockycalo2608 4 года назад +1

    Pedro required the credit card if you make a heroku account?, or is it okay that I don't have a credit card.

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      Hey, they require a credit card if you want to use their mysql database service. Despite it being free, they still require it for some reason. They won't charge the card if you choose the free option.

    • @rockycalo2608
      @rockycalo2608 4 года назад

      @@PedroTechnologies alright! Pedro...thanks for that.

  • @nicknameis
    @nicknameis Год назад

    I am wondering what should I do if I have 30 tables with different relations.

  • @anonymoussaif7361
    @anonymoussaif7361 2 года назад

    Ur just amazing bro

  • @nathanfenoglio8699
    @nathanfenoglio8699 4 года назад +1

    Everything is working except if I leave the website alone for more than a minute I have to heroku restart in order to fetch info from the backend again. Does anyone know of a way to fix?

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      Hey, since Heroku is free, they recently implemented a feature where if you arent constantly pushing changes or users are constantly not in the website, they shutdown the server. When someone enters again, there is a cold start and heroku waits a bit to restart, but the best way is to do heroku restart to immediately start it again

  • @Chow2323
    @Chow2323 3 года назад

    Se eu coloco o comando de build no Netlify, não é pq o próprio Netlify vai fazer a build antes do deploy? Sendo assim, era realmente necessário vc rodar o comando de build no local, se depois nem foi feito nem o push pro github? (Desculpa pergunts em portugues, assim foi mais facil hehe)

  • @pearinnovation1419
    @pearinnovation1419 2 года назад

    can we fetch data in react hosted on localhost from php api hosted in cpanel online

  • @nearmint8350
    @nearmint8350 2 года назад +1

    Hey Pedro! I am having some errors with deploying the node project! Do you have a link to the project? So i can follow your structure and adapt it? Thanks a lot :)

  • @csbraves2459
    @csbraves2459 4 года назад +1

    Hey, Awesome work man!! I love your videos.... Please make a complete MERN stack playlist with any simple responsive mobile friendly web app, Kindly include registration/Login (authentication using JWT). Thanks!!!
    your tutorials are easy and highly knowledgeable at the same time..

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      Hey, thank you I am glad you are enjoying my videos! I plan on making a full Registration Login tutorial with a lot of stuff like email confirmation, changing passwords, jwt auth, and much more. I have 3 videos on the topic in my channel, I use mysql in them but the code for mongo should be very similar. Here is the playlist: ruclips.net/p/PLpPqplz6dKxVC1RlVMH_LcZz2vUheC1-i

    • @csbraves2459
      @csbraves2459 4 года назад

      @@PedroTechnologies Thank you.. Now I am eagerly waiting for the course.

  • @michellepark4294
    @michellepark4294 3 года назад +1

    Hey Pedro, thanks so much for this tutorial! Extremely helpful - do you know if we can use the data export/import function in MySQL Workbench to copy over the tables instead?

  • @emmanueldenis1063
    @emmanueldenis1063 10 месяцев назад

    Bro, I followed everything to the T twice; the build and deployment was successful; however, the screen is blank. I build an app only for the front-end.

  • @jarvs10
    @jarvs10 Год назад

    hey Pedro, i need ur help, i dont know how exactly import mySQL information to the app, can u help me plz, the site is static, no update, no create, no delete, just a static page, i appreciate the help, good day

  • @oceanryan9660
    @oceanryan9660 3 года назад +1

    Hello, can you teach me how to fix the cors problem?

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      Many problems can cause issues! Maybe you need to apply the cors module (app.use(cors())). Or maybe its cause you have yarn and npm on the same project.

  • @martinmtandi335
    @martinmtandi335 3 года назад +1

    what if I have other configurations in the .env file

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      You can add those vsriables to the heroku variable config section!

  • @gauravkumarsharma5904
    @gauravkumarsharma5904 3 года назад

    Which is most popular ORM/ODM for SQL Databases based on Node.js?

  • @romimaximus
    @romimaximus 4 года назад +1

    what´s the flag " - a " on the git commit , i know the flag " - m ", but the flag " - a ", i never used it...thankx !!

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      When u are using Heroku u commit with the -am flag

    • @PedroTechnologies
      @PedroTechnologies  4 года назад +1

      So its like: commit -am “message”

    • @romimaximus
      @romimaximus 4 года назад +1

      @@PedroTechnologies Ok...thankx Pedro...👍

  • @pavithra9049
    @pavithra9049 3 года назад

    Damn! , this is what all I need , I have been searching for solutions literally for more than a week , Thank you so much pedro , but I do have a small doubt , is there any other way to connect the db publicly without the add-ons since I don't have a credit card . Please help me out!

  • @utkarshaabhang8716
    @utkarshaabhang8716 4 года назад +1

    Thank you so much for this video

  • @alexandreborges7296
    @alexandreborges7296 2 года назад

    Opa bem legal o tutorial Pedro, mas tenho uma dúvida de noob:
    Eu fiz o build do client e subi pro meu servidor e funcionou o client, agora não sei como faço o build do server???
    Meu servidor é um vps da HostGator, eu cheguei ate criar o usuario do banco criei o banco de dados em MYSQL e adicionei meu Usuario, mas não consigo fazer o backend no caso meu server ficar startado, para meu website(frtont) conversar com os dados.
    teria como fazer um turotial desse estilo fazendo um crud e subindo num host pago, estilo hostgator, bluehost, hostdime e etc......???

  • @romimaximus
    @romimaximus 4 года назад +1

    Awesome ..!!! thank you very much..!!! 👍