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!
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
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😃
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 ?
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!
@@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.
@@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!
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!
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?
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!
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?
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!
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?
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
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.
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
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?
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.
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
$ 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
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!
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
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?
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
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
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!
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.
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
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.
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
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?
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.
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.
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.
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?
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!
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
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.
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.
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?
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
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)
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 :)
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..
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
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?
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.
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
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.
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!
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......???
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
You're very welcome! I am really glad you liked it!
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!
is cleardb mysql still free? it isnt for me
@@joehutchinson248 nah it all paid now
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
Hahahaha I apreciate the support! If you have any errors/questions please let me know and I will help! Good luck!
You are my hero, every issue that I ran into you addressed and fixed perfectly. 10/10 thank you
hahaha Great to hear!
pedro gang
your videos are charm ! better than many popular coding channels. Iam glad i found your channel, many thanks from greece
Really appreciate ur comment! Makes me happy to see I am being able to help you! I am glad you like my channel!
Thank you so much Pedro, I am from Vietnam, your work helped me a lot! Keep these tutorials on FIRE! I appreciate a lot
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😃
Glad it worked for you! I am glad I was able to help!
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😢
Did you get the solution? I am having the same problem. He probably should've went over it in the video.
thanks man, since i found u my life is easier.
Thanks!
Thank you so much for the support Dharun! Happy I could help :)
@@PedroTechnologies been following your React CRUD tutorials and for a beginner I’m doing much better than I hoped
thanks for this video pedro! this once again helped me a lot! looking forward to seeing more of your amazing content
More to come!
26:27 bro help me...there I'm getting same error even after adding origin to cors() 🙏🙏
Even me too... I'm facing the same issue. Did you resolve it?@coder-abhk
bro u made my whole tasks in my internship easy, thank u!
I get the error you get at 26:29 , how did you fix it??
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 ?
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!
@@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.
@@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!
Big Thanks my man. A perfectly explained tutorial. You're my Hero ♥️
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!
I'm so thankful for this awesome tutorial! You helped me a lot. Finally I can public my project.
Thank you so much for this well put together and well thought out video man. Keep up the good work!
Glad you enjoyed it!
18:28 the schema has been imported, but where is the data? is there a way we can import the data as well?
I wonder how 🤨
youre awesome man, this was insanely helpful!
Nice thank you for showing all of the mistakes, and error! it really helped me to avoid the same problems!
Is you use an paid plan on heroku? because I did get that interce like him on my case?
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!
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!
@@PedroTechnologies very nice, can't wait!
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?
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?
Bro if your video didnt exist , i'd never figured out how to deploy a react app even on a test server , +1
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!
I have the same problem, could you solve it?
@@jonashafner4656 Do you have found the answer ?
is it a better idea to start developping directely in the database in the heroku, instead of locally?
Thanks so much man, this tutorial was really helpful
Glad to hear it!
Hey Pedro!
Great tutorial, as always!
I'm having that cors problem :(
How did you fix it?
thanks in advance :)
any solution?
what was your cors problem?
best video and explained well in youtube.
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?
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!
@@PedroTechnologies Thank you!
Thank you so much! This video is a masterpiece :D
Glad you liked it!
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?
any solution ?
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
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.
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
same error! did you solve it?? please :)
thank you so much for uploading this great tutorial!!!
bookmarked! because my little project haven't completed yet
Awesome! See you then!
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?
Hey, I have never seen this. Can you send the link here?
hi can i ask why cant we deploy front end and backend together on heroku instead of deploy frontend and backend seperately
How can I do it in firebase hosting?
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.
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
$ 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
How did you fix the CORS issue? i'm getting that error but i'm alreading using cors as a middleware in my server.
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!
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
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?
It's when you're creating your netflify site, you're adding a build command that runs the build on your repository files
Great tutorial, helped me a lot!!
thanks so much! :-)
Hey, thank you so much for sharing it!
Congratulations!
Awesome video! I had to change it to git push heroku main to get it to work.
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
when deploying, what do you use instead of the LOCALHOST as the URL in the axios.post request on your frontend?
asking, if i deploy medium enterprise site.. what database should i use.. or i keep using free version from heroku?
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
which sever you used for my sql i am using xampp plase let me know
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!
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.
what did you do with the core error i've got this thks
You need to apply the cors middleware (app.use(cors)) and make sure u dont have yarn and npm in the same project
@@PedroTechnologies I still have the CORS error please help, two weeks now
Thank you so much for this tutorial ❣️
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
ohh shiit morty pedro got it ..deploy finally lets go
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?
How did you fix the error at 26:30 ?
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.
I have problem, my post request in netlify can not working , it just return 503 error, how can i solve this question? 😣😣
I really appreciate bro this video, so helpfull
Glad it helped!
Good work 👍
Keep it up 💪
Thank you!
Hi, what was the error you thought was a CORS error? I have the same issue. How did you solve it?
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
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?
I'm having the same issue here. Did you find a solution?
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.
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.
You can migrate by exporting the old database. Not sure how to bypass the cleardb security issues though
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.
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.
Hmm this can happen because of many things. Can you link ur project here?
@@PedroTechnologies It's very odd. it turns off and on whenever it feels like.
@@jasonmoldovan1551 Did you find the solution of this? I am facing the same issue :(
@@asifrasheed4078 i honestly don't remember, sorry.
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?
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!
@@PedroTechnologies Hello, it is just as you said heroku have several problem with handling errors, i tried to restart it and it works! thanks!!!
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
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?
Yes, you can just create an env variable that represents the server url
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.
Hey, apperently u have a useEffrct with a dependency called postId which is undefined. Can u send here the code for that useeffect?
Hello Pedro, did you find any solutions for the cors error ?
Amazing. You explained very well. One doubt . After creating npm build, we need to push it again right?
Thanks a lot this was really helpful
thanks for sharing! helpful!
Glad it was helpful!
when I typed git init, it gave me this error. "The term 'git' is not recognized". why?
That is weird! Do you have git installed?
@@PedroTechnologies don't worry, I fixed it. I just simply restarted Visual Studio 🤦♂️
Pedro required the credit card if you make a heroku account?, or is it okay that I don't have a credit card.
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.
@@PedroTechnologies alright! Pedro...thanks for that.
I am wondering what should I do if I have 30 tables with different relations.
Ur just amazing bro
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?
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
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)
can we fetch data in react hosted on localhost from php api hosted in cpanel online
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 :)
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..
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
@@PedroTechnologies Thank you.. Now I am eagerly waiting for the course.
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?
I wanna know too!
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.
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
Hello, can you teach me how to fix the cors problem?
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.
what if I have other configurations in the .env file
You can add those vsriables to the heroku variable config section!
Which is most popular ORM/ODM for SQL Databases based on Node.js?
what´s the flag " - a " on the git commit , i know the flag " - m ", but the flag " - a ", i never used it...thankx !!
When u are using Heroku u commit with the -am flag
So its like: commit -am “message”
@@PedroTechnologies Ok...thankx Pedro...👍
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!
Thank you so much for this video
Most welcome 😊 If u have any questions let me know!
@@PedroTechnologies ya ofcourse
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......???
Awesome ..!!! thank you very much..!!! 👍
Thank you for watching!