Skip to content

Worked on shop manager challenge - #156

Open
tomcarmichael wants to merge 24 commits into
makersacademy:mainfrom
tomcarmichael:main
Open

Worked on shop manager challenge#156
tomcarmichael wants to merge 24 commits into
makersacademy:mainfrom
tomcarmichael:main

Conversation

@tomcarmichael

Copy link
Copy Markdown

Implemented repository class methods to list all items, list all orders with their corresponding items, create item, and create order with corresponding items (decrementing stock levels for items). Still to do: test drive app.rb functionality (functionality partly implemented) in order to allow user to create order and specify quantity of items they want to order from the command line.

..due to the nature of the join table used in the many-to-many relationship DB and unique constraint
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

Successfully merging this pull request may close these issues.

1 participant