Canteen - avinotec/Stundenplaner.FHE_EAH GitHub Wiki
Files and Structure
Parts
Fragments, views, value objects (VO), etc. are named after the level they are belonging to.
- Canteen:
- CanteenVo: value object for a particular canteen, used in MensaSettings
- CanteenFragment, CanteenView, etc.: top level elements belonging to the canteen feature
- CanteenMenu: the whole menu of a canteen, composed of a list of CanteenMenuDays
- CanteenMenuDay: the list of dishes offered at a certain day
- CanteenDish: information like price and ingredients of a dish
- everything that does not belong to the main feature but to the settings contains "CanteenSettings"
API Endpoints
List of canteens: http://app.fh-erfurt.de:8080/fheapp/api/eah/canteens
Menu of a certain canteen (e.g. with id 58): http://app.fh-erfurt.de:8080/fheapp/api/eah/canteens/58