How to host a webserver for my game

Hi yall, I currently working on a game where players can obtain items and I would like to globally keep track of a list of the various types of item which will contain data of each item (the time it was obtained, the userId of the player that obtained it).

I looked into using a combination of roblox’s datastore for storing the list and MemoryStore for a queue system. However, I’ve reached the conclusion that using roblox’s system would be too resource intensive and inefficient for the intended purpose.

I’m currently looking into deploying code to the web that would have api endpoints to listen for Http request from my game to store the newly obtained items and also retrieve specific data about an item. How would I go about implementing this in a service like AWS’s? I would like the “server” hosted on the web to be able to store persistent data and also process them in order to retrieve them for Http Get request

i used mongodb for this

they have a free tier and its pretty easy to set up

1 Like

I personally use nodejs for this, just use express to get a basic webserver set up and you can use SQL to host a database.

I’ve just got a VPS I use for different projects including web applications and for roblox games I host databases there.

1 Like

Thankfully I already have some previous experience using Node and I was able to get the webserver setup on render. I’ll need to look into data storage like MongoDB or PostgreSQL like @happya_x mentioned

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.