DonkeyKongJr / pimlify

A vue (pwa) to take orders for our most favorite restaurant. All data is stored in firebase.
MIT License
1 stars 0 forks source link

Add Menus from Firebase #15

Closed DonkeyKongJr closed 6 years ago

DonkeyKongJr commented 6 years ago

After selecting a restaurant the application should route to the menu view and retrieve all menu items from a specific firestore collection.

The collection id should be passed as param to the menu component. If no id is available the route should be redirected to home.

DonkeyKongJr commented 6 years ago

Proposed menu struct.

items: [ { name: string description: string price: number }] validFrom: timestamp validTo: timestamp

Opiskull commented 6 years ago

what do we need validfrom validto for?

DonkeyKongJr commented 6 years ago

Thought about multiple different menu which are valid from different times. Could be used for historical data as well, but could also be added later on tbh.

Am 20.07.2018 um 15:15 schrieb Opiskull notifications@github.com:

what do we need validfrom validto for?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.

Opiskull commented 6 years ago

I'm working on that right now :)

Opiskull commented 6 years ago

i Will close this issue... as we are loading the menus from firebase