I'm working on a project for uni. First time ever writing on multiple languages and using cloud and I'm completely lost.
I have a flutter front end with firebase as the backend.
I'd like to run some python functions in the cloud, but i'm not sure what the argument for my functions would be.
The idea is pretty simple:
- user inputs some kind of data (text/image/url - text or video)
- depending on what the input is i will call one of 4 functions from the firebase
- process the data in the cloud
- save it into the database.
But I cannot figure for the life of me what argument is going to be received by the function, if it's jus raw data, some kind of request or what.
Do I just build the logic and testing for they python code with an empty main function and figure out later what i need to do with it?
Do I implement the flutter input and figure out what info is sent?
How would someone normally approach this?