In my development process, I usually do this:
- Create the app with hardcoded data
- When the api is ready, update the app to consume data from the server
The problem I face after the the implementation to consume data from the server, I usually become dependent with the api. For example, I need to ask api dev to create user with specific role for example, or asking qa team to create certain data (sometimes I don’t really understand how to work with the dashboard), etc.
I could use fake data by commenting some lines and then create the object I need, after that I remove the hardcoded lines and call the api to get real data. But, I think it’s not ideal, especially when the data I need depend on other data. There must be a better way of doing it. Could help with a solution with this problem?
Thank you in advanced.