Next.js Discord

Discord Forum

How do I deploy to Vercel the frontend and backend of a game?

Answered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I'm not too familiarized with deploying the frontend AND backend to Vercel. I understand that NextJS has backend features, however I'm trying to add websockets to this and it seems that NextJS doesn't support yet. So, if I need to create a separate project for just the server, how do I deploy the websocket server AND the frontend to Vercel? Do I do it separately or do I choose some other cloud platform?
Answered by B33fb0n3
vercel only support serverless enviorement as far as I know. So of course you can create a second project, but it will still be serverless. So you need to provide a serverful enviorement
View full answer

6 Replies