Questioner is a crowd-source questions for a meetup. It helps the meetup organizer prioritize questions to be answered. Other users can vote on asked questions and they bubble to the top or to the bottom of the log.
Method | Endpoint | Description |
---|---|---|
GET |
/api/v1/meetups/upcoming |
Gets all meetups records |
GET |
/api/v1/meetups/<meetup-id> |
Get a specific meetup record |
POST |
/api/v1/meetups |
Create a meetup record |
POST |
/api/v1/questions |
Create a question record |
POST |
/api/v1/users/signup |
Registers a user |
POST |
/api/v1/users/login |
Sign in a User |
POST |
/api/v1/meetups/<meetup-id/rsvps> |
User respond to a meetup |
PATCH |
/api/v1/questions/<questions-id>/upvote |
vote on a meetup question |
PATCH |
/api/v1/questions/<questions-id/downvote |
vote on a meetup question |
|
Install python
Clone the repository :
git clone https://github.com/blairt001/Questioner.git
cd into the repository
Activate virtualenv: source venv/bin/activate
pip install -r requirements.txt
Follow the following procedures:
export FLASK_ENV="development"
export FLASK_APP="manage.py"
export APP_SETTINGS="development"
python manage.py runserver
On the terminal execute python -m pytests
Use Postman
Tony B.