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

#160869959 Customer can see history of ordered fast food #45

Merged
merged 5 commits into from Oct 1, 2018

Conversation

akhilome
Copy link
Owner

@akhilome akhilome commented Oct 1, 2018

What does this PR do?

implement route to handle getting all orders of a logged in customer.

Description of Task to be completed?

  • write tests for GET /users/orders
  • implement GET /users/orders route to make all tests pass
  • add seed menu script for database

How should this be manually tested?

clone the repo and cd into it.

git clone https://github.com/akhilome/fast-food-fast.git && cd fast-food-fast

install dependencies and setup db

rename .env.example to .env and configure appropriately, then run

npm i && npm run setup-testdb

test away

npm test

What are the relevant pivotal tracker stories?

#160869959

- add more tests for GET /users/<userId>/orders
- implement GET /users/<userId>/orders route to make all tests pass
- add seed menu script for database

[Finishes #160869959]
@akhilome akhilome changed the title #160869959 Customer that is logged in can see history of ordered fast food #160869959 Customer can see history of ordered fast food Oct 1, 2018
@coveralls
Copy link

coveralls commented Oct 1, 2018

Coverage Status

Coverage decreased (-0.09%) to 92.739% when pulling 88ccd51 on ft-auth-order-history-160869959 into de5f505 on develop.

@akhilome akhilome merged commit db6d56a into develop Oct 1, 2018
@akhilome akhilome deleted the ft-auth-order-history-160869959 branch October 8, 2018 21:35
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.

None yet

2 participants