I'm just just starting with code,, a had the illusion that I can make an app using gpt4. I didn't. Now i'm slowly getting it thanks to your video! Thanks a lot for your effort
thank you! I met a problem about git, which warned me client folder is a sub repository inside this project's repository. I googled it found delete .git folder inside client folder (this is a hidden folder so make sure set your hidden folder not hidden😂) then it worked. hope this can help someone might find this error. happy coding!
Is anyone facing CORS error in frontend (React) even after configuring all cors settings in js file and in vercel.json as well? I've used everything but nothing seems to work, i think it's vercel problem... can anyone guide me?
I have a problem i am using next js node js sqlite. Although i login it says i am not authorized. I used session based but when ask chatgpt or bard it asking me to change cookie....i am so confused why does session work on localhost and not production? How to solve it? Currently my node is in render and next is on vercel...i try to switch to cookie its says block third party...I have a project due in 4 days....and they wont accept localhost ...it feels like a waste if i cant figure it out 😢
Hocam merhaba. İngilizcem çok iyi olmadığı için türkçe yazmak istedim umarım youtube doğru çevirir. Ben client klasörünü git. deposuna yüklediğimde alt dosyaları yüklenmemiş görünüyor. Ve vercelde server root seçeneği var ama client seçeneği yok. Alt modül hatası diye düşünüyorum ama bir türlü çözemedim. Yardımcı olursanız sevinirim
I have a blog app built with MERN stack everything is working well when I've not deployed on vercel but after deployment vercel throws a server error when I try uploading files, the error is ENOENT error no such file or directory, please do i need a special configuration to do I've been on this for the past 2weeks and I've developed headache
Your error is saying that the file or directory doesn’t exists so you might have the setup to your directory incorrectly. Example: your directory is in ./server but say you chose ./myProject/server which might cause that error
👍Great, that was helpful. Can I run index.js in Node on Vercel without Express? For example, I want to run a file with a bot written in JS. What should be the description in versel.json in this case?🤷♀
Hi there! I love the video and the way you explain things! Could you please help me? Im having big difficulties deploying my project to vercel. I created a database with supabase and used react for the frontend. I have it separated into 2 folders just like you did, it works locally. If I try to deploy the backend to vercel it gives 404 NOT FOUND and zero other explanation of why it isnt finding it. PLEASE PLEASE help me! Im a new sub
I have a mern stack e-commerce app, I tried to deploy it to vercel. added vercel.json and cors code as well but it gives me 404 error when deployed. can anyone help me, please?
You simply install cors and at the top of your server index.js file, implement the cors tutorial code: const cors = require('cors'); then under it add: app.use(cors()); hope this helps
Yes, GitHub in short is like a Facebook but for coders. You can store and manage all your code on GitHub. If you don’t know GitHub I would recommend you familiarize yourself with it as it can help you store and manage all your projects.
everytime I try to deploy my client side of my project i get, Could not resolve "./components/Header.jsx" from "src/App.jsx". idk whats going on in my app.jsx
This tutorial is Express, React and Node. No MongoDB. Frontend and backend both on Vercel. Thanks
I'm just just starting with code,, a had the illusion that I can make an app using gpt4. I didn't. Now i'm slowly getting it thanks to your video! Thanks a lot for your effort
thank you! I met a problem about git, which warned me client folder is a sub repository inside this project's repository. I googled it found delete .git folder inside client folder (this is a hidden folder so make sure set your hidden folder not hidden😂) then it worked. hope this can help someone might find this error. happy coding!
Thanks bro, you solved all my problems. Appreciate that
thank you so much man
i did waste long time for this little work
but you maked it easy ♥
I have both my front end and backend folders deployed to Vercel. How do we link them together?
It was helpful for me as a beginner! Thankyou!
Glad it was helpful!
How to include MySQL with vercel
Keep up the good work.
So you cant deployed both on backend and front end in one deployment?
thanks brother, well explained
This tutorial really helpful.
How to deploy using DB like mongodb or others?
thank you . this video is helpful.
Is anyone facing CORS error in frontend (React) even after configuring all cors settings in js file and in vercel.json as well? I've used everything but nothing seems to work, i think it's vercel problem... can anyone guide me?
same issue
I have a problem i am using next js node js sqlite. Although i login it says i am not authorized. I used session based but when ask chatgpt or bard it asking me to change cookie....i am so confused why does session work on localhost and not production? How to solve it? Currently my node is in render and next is on vercel...i try to switch to cookie its says block third party...I have a project due in 4 days....and they wont accept localhost ...it feels like a waste if i cant figure it out 😢
at 5:59 you said "I made a mistake here," what does it mean ?
thankyou man it helped !!
Could you explain how I can do it if I create a src folder where I put the index.js?
Very helpful, thank you!
I use PostgreSQL in the Node.js backend, how do I include that?
Need to change the express: localhost:3000 in the react based on the production url for calling the API?
why do you type to commit when you can just click the three dots under the magnify glass?
Hocam merhaba. İngilizcem çok iyi olmadığı için türkçe yazmak istedim umarım youtube doğru çevirir. Ben client klasörünü git. deposuna yüklediğimde alt dosyaları yüklenmemiş görünüyor. Ve vercelde server root seçeneği var ama client seçeneği yok. Alt modül hatası diye düşünüyorum ama bir türlü çözemedim. Yardımcı olursanız sevinirim
whats that blast extenstion name
The extension is called power mode! 😄
There is no option to select the individual folders. What shall I do??
I have a blog app built with MERN stack everything is working well when I've not deployed on vercel but after deployment vercel throws a server error when I try uploading files, the error is ENOENT error no such file or directory, please do i need a special configuration to do I've been on this for the past 2weeks and I've developed headache
Your error is saying that the file or directory doesn’t exists so you might have the setup to your directory incorrectly. Example: your directory is in ./server but say you chose ./myProject/server which might cause that error
If we have used postgresql in backend then how can we deploy
Thank you so much!
what is the extension for typing in your vscode ??
how do i manage CORS errors when fetching from the server?
how do i make front-end communicate with back-end?
But how to store data ? Where to store it, i don't see any db.json like files
Thank you!!
👍Great, that was helpful. Can I run index.js in Node on Vercel without Express? For example, I want to run a file with a bot written in JS. What should be the description in versel.json in this case?🤷♀
I do have a question though - does it also work with Vite + React?
And the answer is - Yes, it does
Hi there! I love the video and the way you explain things!
Could you please help me? Im having big difficulties deploying my project to vercel. I created a database with supabase and used react for the frontend. I have it separated into 2 folders just like you did, it works locally.
If I try to deploy the backend to vercel it gives 404 NOT FOUND and zero other explanation of why it isnt finding it.
PLEASE PLEASE help me! Im a new sub
I have a mern stack e-commerce app, I tried to deploy it to vercel. added vercel.json and cors code as well but it gives me 404 error when deployed. can anyone help me, please?
Facing the same issue, solved it ??
Me too, my frontend is working but the backend always says 40@@pushkarsatpute4618
how'd you get the little type confetti in vs code thou??
thank you!
I get an empty page in the browser when I visit.
Can you explain the issue in more detail.
It works now. I had to watch the build logs and the runtime logs.
the real problem is coming after you connect the server url to the client. it triggers CORS error. does any one did fix this problem?
You simply install cors and at the top of your server index.js file, implement the cors tutorial code: const cors = require('cors'); then under it add: app.use(cors()); hope this helps
and it will not give the cors eror
Thank you so much
Thank you
helpful
Git hub???
Yes, GitHub in short is like a Facebook but for coders. You can store and manage all your code on GitHub. If you don’t know GitHub I would recommend you familiarize yourself with it as it can help you store and manage all your projects.
be regular
everytime I try to deploy my client side of my project i get, Could not resolve "./components/Header.jsx" from "src/App.jsx". idk whats going on in my app.jsx
bad video
You have copied from that Japanese guy I think.
I am disappointed
I am using PostgreSQL in the Node.js backend, how can I include that?
thank you