NIAEFEUP / api-sigarra

Developing an API for Sigarra platform of the University of Porto
GNU General Public License v3.0
1 stars 0 forks source link

[Meals] DB Storage #9

Open imnotteixeira opened 5 years ago

imnotteixeira commented 5 years ago

The parsed meals should be stored in the mongo db, to be accessed later from the API.

For a Meal, it should be possible to know the meal title, the type (meal, fish, soup, etc.), the date, if it is at lunch or dinner and where it will be served (i.e. FEUP)

One or more models can be used, for example, it could be useful to get all meals for a specified institution, so there would have to be both an Institution Model and a Meal Model.