Building a bulk buying app

Hey campers!

I want to make an app that has some functionality somewhat similar to google sheets or excel, but where users can only update their own information.

Example: people can say how many apples they want and where they’re located and if enough people in the area want apples to make a bulk purchase then some notification happens and the buyer goes to buy the apples.

I also want to be able to store information of previous purchases both items and costs so that I can display what our collective food budgets is and then show savings and things like that.

I know I could use google sheets to some extent, but I’d rather learn how to integrate a database/visualize data and so forth. Any help would be appreciated!

firebase from google