The “app”, as you call it, only subscribes to the services provided. Whether you know it (apparently not), any features you described are on the server side (as to your post title). You are asking about the server, though you seem to not know it. Why else would you post in “self-HOSTED”. Applications aren’t hosted.