Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIs for Restaurant Group Table #4

Open
4 tasks
Safewaan opened this issue May 13, 2023 · 0 comments
Open
4 tasks

APIs for Restaurant Group Table #4

Safewaan opened this issue May 13, 2023 · 0 comments

Comments

@Safewaan
Copy link
Contributor

Summary

  • in Create Restaurant Groups Table #3, we will create a table for storing Restaurant Groups
  • We also need to create APIs to create new restaurant groups, read them from the db, edit them to add restaurants as needed, and to delete them from the db

Goals

  • POST API- create a restaurant group, restaurantIds can be empty
  • GET API- get all restaurant groups
  • PUT API- restaurant groups should be editable. Updating the list might be tricky, but we should provide a new list that overwrites the original list.
  • DELETE API- restaurant groups can be deleted.

Implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant