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!
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
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 😢
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?
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
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
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
👍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 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.
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!
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
Thanks bro, you solved all my problems. Appreciate that
I have both my front end and backend folders deployed to Vercel. How do we link them together?
at 5:59 you said "I made a mistake here," what does it mean ?
thank you so much man
i did waste long time for this little work
but you maked it easy ♥
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 😢
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
How to include MySQL with vercel
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?
Keep up the good work.
Could you explain how I can do it if I create a src folder where I put the index.js?
I use PostgreSQL in the Node.js backend, how do I include that?
It was helpful for me as a beginner! Thankyou!
Glad it was helpful!
whats that blast extenstion name
The extension is called power mode! 😄
There is no option to select the individual folders. What shall I do??
thanks brother, well explained
This tutorial really helpful.
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
But how to store data ? Where to store it, i don't see any db.json like files
If we have used postgresql in backend then how can we deploy
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
I do have a question though - does it also work with Vite + React?
And the answer is - Yes, it does
how do i manage CORS errors when fetching from the server?
thank you . this video is helpful.
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
how'd you get the little type confetti in vs code thou??
how do i make front-end communicate with back-end?
what is the extension for typing in your vscode ??
👍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?🤷♀
thankyou man it helped !!
Very helpful, thank you!
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
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
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.
Thank you so much!
and it will not give the cors eror
Thank you!!
thank you!
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
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