Backend for a food ordering mobile app


i want to make a simple food ordering mobile app, but i’m struggling with the decision of the right backend solution. I need the backend to keep track of the cart and maybe also the payment.
And of course user data, but thats something every backend can do.

What would be a good solution for that? i thought about using firebase, but i’m not sure if thats right.