Bro please help me... I built an entire chat app using next js and separate socket io server as you did in this video... But after completing i realised that I can't deploy it for free... Can you please help me... Is there any way to deploy for free or we can't deploy app like this...???
@@RandomGuy34-j1u @@RandomGuy34-j1unope bro. I tried deploying my socket server to aws ec2 and it works with separate server... But AWS is not free right so I just deployed the Next JS app to vercel but realtime feature will not work... If you thinking to build a realtime chat app use pusher instead of separate backend server with Next JS so that you can deploy it to vercel for free and realtime feature will also works... Research about pusher...
@@RandomGuy34-j1u nope these are all for static website so the seperate socket server will not work with next js if we deploy it to any free service like vercel, render etc...
Nice
thank you
How to access the io socket instance in different backend route
How can i use server.js io in my API?
i wan to send message to FE when API is called...
I am not able to use io in my server
You are a life saver🫡
I dont see where is nextJS🤕
Bro, you saved me
happy to help
hi @100xdevs, i am getting cors error after deploying to vercel, do you know what's wrong?
Share ur cross error code.
@@mahadihassan7965 hi, apologies, but I managed to solve my cors issue. Thanks!
A kind request, i would like to deploy the above code. What would be the best approach? Thanking you in advance!
hi @100xdevs, i am getting cors error in my local, i am already setup cors for localhost:3000 (nextjs app) but still get cors error.
@@tabishkhaqan2878did you find??
Thank you bro
Bro please help me... I built an entire chat app using next js and separate socket io server as you did in this video... But after completing i realised that I can't deploy it for free... Can you please help me... Is there any way to deploy for free or we can't deploy app like this...???
i think you can deploy it on render for free
@@RandomGuy34-j1u @@RandomGuy34-j1unope bro. I tried deploying my socket server to aws ec2 and it works with separate server... But AWS is not free right so I just deployed the Next JS app to vercel but realtime feature will not work... If you thinking to build a realtime chat app use pusher instead of separate backend server with Next JS so that you can deploy it to vercel for free and realtime feature will also works... Research about pusher...
@@RandomGuy34-j1u nope these are all for static website so the seperate socket server will not work with next js if we deploy it to any free service like vercel, render etc...
@@SanjayNG125so how you deployed please help bro
did you fix it bro?