what is the best way to backend?

Good evening fellow developers,
Can you tell me the best way to backend on iOS without hiring a service like firebase?

if it is good to learn phyton or something?
You mean accessing a server on backend ?

When I needed, I did not use Python but simply php.
Yes, I have seen that they have used alamofire, but I would like to make a centralized database to consult those who have registered.
what is the best way to backend?
 
 
Q