sledilnik / mobile-app

Mobile application for latest sledilnik data
GNU Affero General Public License v3.0
4 stars 2 forks source link

Generate JSON models #8

Open MihaMarkic opened 3 years ago

MihaMarkic commented 3 years ago

JSON models have to be generated in order to communicate with server. Perhaps we can use swagger metadata..

sesam commented 3 years ago

Where does the data come from? Can we implement the first screen also without formal JSON models, or does the app need to do complex data processing before the numbers can be shown on screen?

MihaMarkic commented 3 years ago

@sesam Data will be coming from sledilnik/data-api and I wouldn't take shortcuts. Instead models should be generated, perhaps using swagger data.

sesam commented 3 years ago

https://api.sledilnik.org/swagger looks like the place for swagger definitions. Is it /stats that has the data for the front page small info boxes?