Next.js Discord

Discord Forum

Any one know a free host support websockets

Answered
Asian black bear posted this in #help-forum
Open in Discord
Avatar
Asian black bearOP
i build a first websocket with my next.js project and shocked after this vercel not support websockets so i need to find something is free and support a websockets is there something like what i want
Image

15 Replies

Avatar
Answer
Avatar
Asian black bearOP
https://ably.com/
https://pusher.com/

its just for api or fullstack apps
Avatar
this just provides you with real time APIs and SDKs
Avatar
Asian black bearOP
ill try render
Avatar
render shuts down your application after few mins of inactivity so beware of startup times
Avatar
Asian black bearOP
ammm
I'm using next api route not express server can i use https://pusher.com/ ?
Avatar
pusher provides you with a client and server sdk
so instead of connecting to your api, you connect to pusher/ably and instead of creating your own socket server, you send events to pusher/ably using their sdk
Avatar
Asian black bearOP
oh i see
lets try and read these things
Avatar
Asian black bearOP
Avatar
Asian black bearOP
Sorry for @Yi Lon Ma i just mention a links for tutorial but all thanks goes to YI Lon Ma :mine_emoji_heart: