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

#163112413 Create an RSVP to Schedule for a Meetup #16

Merged
merged 17 commits into from
Jan 11, 2019

Conversation

mugoh
Copy link
Owner

@mugoh mugoh commented Jan 11, 2019

What does this PR do?

Allow a user with log in access to return an RSVP for an existing meetup

Description of Task to be completed?

Ensure that the the following endpoint is functional and works as intended:

- POST api/v1/meetups/<int:meetup_id>/<response>
  • An rsvp response can be sent to any existing meetup

How should this be manually tested?

  1. Clone this repo into your machine
$ git clone https://github.com/hogum/qstioner-api.git
  1. Navigate to the repo directory
$ cd qstioner
  1. Setup a virtual environment and install the project requirements
$ pip3 install virtualenvwrapper
$ source virtualenvwrapper.sh
$ mkvirtuanenv pyenv && pip install -r requirements.txt 
  1. Checkout this Feature branch:
$ git checkout ft-rsvp-meetup-163112413
  1. Test the endpoint api/v1/meetups/<meetup_id>/<rsvp_response>
  • First, create a meetup - The first meetup will have an id of '1'
    The endpoint for doing this is given here
  • Using the meetup's id, send a POST request to that endpoint with PostMan or Curl

Any background context you want to provide?

None

What are the relevant pivotal tracker stories?

163112413

Screenshots

- Create a new meetup for meetup id '#1'

screenshot from 2019-01-11 07-30-55

- Rsvp for the created Meetup with a 'yes' response

screenshot from 2019-01-11 07-31-09

@mugoh mugoh merged commit 4e890a6 into develop Jan 11, 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