Valerigionetnoel / Restaurante-Trattoria

MIT License
1 stars 3 forks source link

GQL #7

Open roseandlily33 opened 1 year ago

roseandlily33 commented 1 year ago

typeDefs and resolvers in the backend, queries and mutations in the frontend. And it all connects/looks similar to the mongoose models.

Restaurant, Customer, and Reviews are the models/schemas

Query's: -Get All Reviews (For the main review section) -Get A User with Reviews associated with that user (For the Customers Profile Page)

Mutation's: -Make a reservation -Delete a reservation -Delete a review -Update a review

-Create a review -Create a customer -Login a customer