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

#160870053 Admin (caterer) that is logged in can see a list of all orders #48

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

akhilome
Copy link
Owner

@akhilome akhilome commented Oct 2, 2018

What does this PR do?

implement route to allow admins fetch all orders

Description of Task to be completed?

  • modify tests for GET /orders
  • reimplement route to use auth for admins

How should this be manually tested?

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 && npm run seed-db

test away

npm test

What are the relevant pivotal tracker stories?

#160870053

- modify tests for GET /orders
- reimplement route to use auth for admins

[Finishes #160870053]
@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 91.354% when pulling d87f6f1 on ft-admin-get-orders-160870053 into 6ceb6f4 on develop.

@akhilome akhilome merged commit 94348af into develop Oct 2, 2018
@akhilome akhilome deleted the ft-admin-get-orders-160870053 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