heroiclabs/nakama — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a production ready open source backend server for games and social apps, similar to Nakama. I want game developers to be able to run it locally with Docker, connect it to a Postgres compatible database, and use it as the server for multiplayer games without building all the common backend features themselves.

It should handle player signup and login with email, social accounts, or device id, store player data and settings, support friends, groups, chat, leaderboards, tournaments, parties, matchmaker, and notifications to connected players. It should support both real time and turn based multiplayer, plus validation for purchases and subscriptions. Include a web console or dashboard for admins, useful metrics, clear config, migrations, and a sensible local development setup.

Please structure it like a serious Go server project, with APIs that game clients can use and a way for developers to add custom server logic in Lua, JavaScript, TypeScript, or Go. Look up current docs online if needed.

Want more depth? Deep Reverse