Hosting in Vercel #13
Replies: 3 comments 7 replies
-
I tried with Firebase too, but no luck, it said socket.io error |
Beta Was this translation helpful? Give feedback.
-
Open up 2 terminals one for the server and one for the client Start the server: cd ./server
npm run dev before running the client you need to change the server URL in the and check whether the Source: VITE_BACKEND_URL=http://localhost:3000 Source: PORT=3000 Start the client: cd ./client
npm run dev Open http://localhost:5173 in browser. |
Beta Was this translation helpful? Give feedback.
-
bro can u just help me out with the steps to host the project on vercel as well as socket.io on glich!? |
Beta Was this translation helpful? Give feedback.
-
So i made some Ui changes and i tried hosting the client and the server
This is the server
and this is the client
But why doesn't the client connect to the server even thought i gave the .env information to both the server and the client
Help needed since i am not experienced in terms of framework hosting services
Beta Was this translation helpful? Give feedback.
All reactions