Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this pull request do?
This PR implements the CRUD methods for articles.
Description of the tasks to be completed?
create article
POST /api/articles/
get article
GET /api/articles/<slug>
get articles
GET /api/articles/
update articles
PUT /api/articles/<slug>
delete articles
DELETE /api/articles/<slug>
test the above functionalities
How should this be manually tested?
testing:
Screenshots:
Posting an article
![image](https://user-images.githubusercontent.com/26184510/49810152-a23f7680-fd71-11e8-98cf-8e731ff47de8.png)
Get all articles
![image](https://user-images.githubusercontent.com/26184510/49810199-bedbae80-fd71-11e8-8f0a-e8ad76552bff.png)
Get a specic article using it's slug
![image](https://user-images.githubusercontent.com/26184510/49810259-e7fc3f00-fd71-11e8-9364-a08c07106f6b.png)
Update an article
![image](https://user-images.githubusercontent.com/26184510/49810959-4f66be80-fd73-11e8-9ed0-15b0a11cfe66.png)
Delete article
![image](https://user-images.githubusercontent.com/26184510/49811089-9359c380-fd73-11e8-84d6-e5c4fe25d6d8.png)
Testsing
![image](https://user-images.githubusercontent.com/26184510/49811402-432f3100-fd74-11e8-8610-029238554b20.png)
![image](https://user-images.githubusercontent.com/26184510/49811410-475b4e80-fd74-11e8-9d4e-cd45be1a0c05.png)
What are the relevant Pivotal Tracker Stories
#161966610
Checklist: