-
Notifications
You must be signed in to change notification settings - Fork 7
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
#169254678 Build out get all articles for a specific user #66
#169254678 Build out get all articles for a specific user #66
Conversation
0aff7ac
to
8984b8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM doesn't break any build and serves the purpose. any defects shall be another iteration please go ahead and hasten the front-end. Good work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tho u can shorten endpoint like articles/mine
instead of articles /user/article
8984b8f
to
111588c
Compare
111588c
to
56f37eb
Compare
I worked on your feedback thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this PR do?
-It gets all articles for a specific user
Description of Task to be completed?
-logged in user should be able to get all the articles he published
How should this be manually tested?
Download or clone the tutorial project code from here, in your terminal then git checkout
ft-user-get-only-all-his-article-169254678
, install all required NPM packages by running NPM install from the command line in the project root folder (where the package.json is located).Start the API by running NPM start from the command line in the project root folder, you should see the message Server listening on port 8000. You can test the API directly using an application such as Postman or you can test it with one of the single pages in the browser.
to test authentication and authorization, add this to the header
Key: :x-access-token,value:JWT TOKEN
Any background context you want to provide?
What are the relevant pivotal tracker stories?
https://www.pivotaltracker.com/story/show/169254678
Screenshots (if appropriate)
Questions: