Skip to content

#163396992 Endpoint to view a specific comment to a question#72

Merged
Siffersari merged 3 commits intodevelopv2from
ft-user-viewonecomment-163396992
Jan 23, 2019
Merged

#163396992 Endpoint to view a specific comment to a question#72
Siffersari merged 3 commits intodevelopv2from
ft-user-viewonecomment-163396992

Conversation

@Siffersari
Copy link
Copy Markdown
Owner

What does this PR do ?

This pull request creates an endpoint that allows a user to view a specific comment to a question on Questioner

Description of task to be completed?

  • Create an endpoint that allows a user to view a specific comment to a question on the platform

  • Add tests for the endpoint

  • Use Postman to test for full functionality

How should you manually test this?

Step 1

Navigate to your working directory, create and activate virtual environment

$ virtualenv venv

$ source venv/bin/activate

Clone the repository

$ git clone https://github.com/Siffersari/Questioner.git

Install project dependencies

pip install -r requirements.txt

Step 2

Running the application

$ flask run

Testing

$ pytest app/api/tests/v2

Equivalently, use Postman to test.

Prerequisites

Pytest, Postman, Git, Virtualenv

What are the relevant PT stories?

163396992

Screenshots

Success

screenshot from 2019-01-23 05-17-06

JWT validation
screenshot from 2019-01-23 05-17-21

@Siffersari Siffersari merged commit 13cf621 into developv2 Jan 23, 2019
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.

1 participant