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

Dummy Data: point shop #129

Closed
lasyaneti opened this issue Nov 28, 2023 · 2 comments
Closed

Dummy Data: point shop #129

lasyaneti opened this issue Nov 28, 2023 · 2 comments
Assignees

Comments

@lasyaneti
Copy link
Contributor

  1. for now, create new database called shop, create a collection within that called items
  2. each item should store name (string), quantity (int), price (int), isRaffle (boolean)
  3. add an endpoint GET /shop that returns this entire collection and mobile can dynamically update the status of the point shop
@AydanPirani
Copy link
Collaborator

Add in an itemId field that's uniquely generated per item. Should create two tables, one for actual data and 1 for available quantities (because then we can modify that better). Add functionality to post/put/delete item, and put quantity.

@AydanPirani
Copy link
Collaborator

Resolved by #133

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

No branches or pull requests

3 participants