Valerigionetnoel / Restaurante-Trattoria

MIT License
1 stars 3 forks source link

Reservation Page #6

Open roseandlily33 opened 1 year ago

roseandlily33 commented 1 year ago

For the reservation page A file needs to be created for that in the client/src/pages called Reservations.js (Sorry forgot to make that one)

And here you'll need useState from 'react'; With a function on handling the form submit And your going to create another form with the following inputs: -Date -Time -Party Size And for the customers name, we need to decide on whether or not you need to be logged in to make a reservation, if you do need to be logged in then we can probably get it from there, and if not then we will need to make a place for that.

*Small change, you don't have to actually worry about sending it to the server that's where the gql comes in and takes care of that what Valeri is setting up.