Files
felixfoertsch.de/Content/Books/The Singleplayer App-Development Guide/index.md

2.4 KiB
Raw Blame History

Apps

Backend

  • Write a text about the PLAN to gather the thoughts
  • Use Ansible to setup infrastructure
  • (Deploy a postgres)
  • Connect to postgres

Frontend

  • Setup Hello-World app
  • Deploy app with pipeline to Backend 👆

The single-player app developer guide So you want to finally develop an app? Do you really want to do it? You might rather open a café… but anyway here it goes.

I have been struggling with organizing my thoughts for a very long time. You might be smart, capable, and focused. However, you cant seem to find a starting point. Not only you. Let me give you your new mantra: Complexity is the enemy. You need to stop daydreaming and start doing. I know you can. But I also now its hard to find out where?! to start.

Let me help you.

Part 1: The infrastructure

It doesnt matter what your idea is. 95 % of all apps need the same backend structure. And backend structure has been solved. Dont do it again.

If your app does not require a cross-platform backend and a web component, use the most native system, that is: CoreData for iOS. And for Android you are shit-out-of-luck, because there is a million different ones. Try Realm DB.

If your app requires a cross-platform backend or have a web component (most apps with user-interaction will at some point), use an infrastructure framework like Appwrite or Supabase. You can also a proprietary one like Firebase from Google. It doesnt really matter. But dont do the backend again. All of these frameworks solve your user-management issues and provide easy access to persistent storage.

However, take a minute and really think about the cross-platform and web requirement. Because if you can avoid it, you can avoid all of the infrastructure and security problems that come with infrastructure that is accessible from the web.

What you need to do, however, is controlling the infrastructure at some point. If you dont, you will get leeched dry. Your app will not earn lottsamoneyyysss. There is a good chance that it will take a long time to be profitable. Hence you pick a provide that offers reasonable infrastructure cost and uses open standards and tools you can freely move around. Also, if you control the infrastructure, you control the required app components and you are not depending on some third party to patch security or to

Lets use the most economic choice that I know of: Uberspace.de. They already have Postgres and Mysql ready for you