-1

I'm a Unity developer and want to create an app where some content is restricted behind a paywall. The users should be able to create an account on the website, subscribe and then log-in on the app. How is something like this usually done? I'm not very familiar with web development and databases, so I don't quite know where to start. Are there any Wordpress plugins that manage the account creation and then save the user status into a MySQL/ Supabase database? Or is there a completely different way of approaching this?

  • This is a big, fuzzy question asking for opinions and recommendations so it might not be focused enough for SO - https://stackoverflow.com/tour . You might look for blogs, articles, and such at GameDeveloper.com and the like for game design and WordPress discussion sites for plugins. Also, expect the WordPress site to be hacked unless you go with professional hosting from someone like WPEngine so be careful with the database permissions or it will all be harvested including payment methods – Dave S Aug 18 '23 at 22:17
  • The question is less about the actual implementation but more about the general approach. What ways there are to create a user database that can be accessed from a website and a game. I tried googling it but didn't find any helpful information, that's why I ended up asking the question here. – Meister der Magie Aug 18 '23 at 22:26
  • 1
    There are many possible answers depending on the overall design and the scaling needs. One example for AWS cloud services: one or more database serves, a cluster of app servers or serverless lambdas for the app API calls, a Wordpress server. You'd use policies and IAM / identity management as well as the database user rights to control what the app servers and WordPress server are allowed to do with the database servers – Dave S Aug 18 '23 at 22:31
  • ...or the WordPress server might not have a direct connection to the database servers and might also talk to its own app server cluster or lambda servers to make API calls as needed. With that you could use WPEngine to manage it and handle security updates, and the AWS database server(s) could be in a VPC. Like I said, a big, fuzzy question and asking for opinions. – Dave S Aug 18 '23 at 22:34

0 Answers0