How do I deploy to Vercel the frontend and backend of a game?
Answered
Transvaal lion posted this in #help-forum
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
6 Replies
@Transvaal lion 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?
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
Answer
@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
Transvaal lionOP
Ah, so I guess I need to find some other cloud platform. 😦
@Transvaal lion Ah, so I guess I need to find some other cloud platform. 😦
yes, or you use your own server that runs 24/7. You decide
@B33fb0n3 yes, or you use your own server that runs 24/7. You decide
Transvaal lionOP
Thank you!
Happy to help