devonfw-forge / devon4flutter-non-bloc-arch

A guide aiming to bridge the gap between the absolute Flutter basics and clean, structured Flutter Development
https://github.com/devonfw-forge/devonfw4flutter/wiki
309 stars 37 forks source link

Load data from backend #7

Closed SchettlerKoehler closed 2 years ago

SchettlerKoehler commented 3 years ago

Description As a user I would like my app to load the data from the server/mock in order to be able to have no static data in the app.

Acceptance Criteria

martellux commented 2 years ago

I suppose/suggest you can use the same data model of the previous backend. If you look at the data model of the previous Flutter app, in this folder, you can figure out the JSON structure for each request and response that the backend exposes. In this way, it should be easy for you to migrate from the mock version to the real one when the backend will be working again.