Through sheer luck and even more stubborness I somehow ended up with a very small web game (in the realm of games like Wordle) in pure Typescript. I want the state of the game to be shareable via following process: Player A presses save -> a JSON is saved onto my server -> A link is generated and shown to Player A -> Player A shares that link with Player B -> Player B clicks that link -> The game is loaded with the state of Player A So the only interaction between front- and backend would be saving and loading that one JSON. My problem is: To me, the web might as well be magic, and I’m a bit overwhelmed with how I can get the ball rolling. I think my options are: A) Amazon Lambda + a S3 bucket (appeareantly this is somehow the cheapest and the most expensive option at the same time?) B) Renting my own VPS and interacting with it through a REST API (I think I would need a managed server rather than a web hosting option, right?) C) Something like Google Firebase/AWS Amplify I feel like option B would be the old-school way of doing things and a good way for me to finally overcome my web-phobia, but do I really need to pay 50€/m to host a game that probably nobody every will play?
Story Published at: February 20, 2023 at 04:49PM
Story Published at: February 20, 2023 at 04:49PM