Closed rkemmy closed 5 years ago
Hey @rkemmy you could change the key 'user' in the article response to 'author' to make it more descriptive. Great work!
Hey @rkemmy you could change the key 'user' in the article response to 'author' to make it more descriptive. Great work! Thanks for pointing that out. I made the change.
@rkemmy Workon squashing commit, the commit we have currently is not related to the PR.
@rkemmy rebase develop and ensure that the tests on Articles CRUD are passing on travis.
@r-wambui I edited Leo's commit. I think that's why that happened but I will create a new commit.
Code Climate has analyzed commit 53695f57 and detected 7 issues on this pull request.
Here's the issue category breakdown:
Category | Count |
---|---|
Duplication | 7 |
View more on Code Climate.
What does this PR do?
Implement the article CRUD
Description of Task to be completed
Implement endpoints for
How should this be manually tested?
git clone -b ft-create-article-161966916 https://github.com/andela/ah-infinity-stones
andcd ah-infinity-stones
.python3 -m venv virtual
to create a virtual environment andsource virtual/bin/activate
to activate it.pip install -r requirements.txt
to install dependenciespython3 manage.py makemigrations
followed bypython3 manage.py migrate
to apply migrations Acesshttp://127.0.0.1:8000/api/users/
through Postman, provide inputs in the following format and create account.