Questioner is a platform that allows users to crowdsource questions for a meetup.
The platform helps meetup organizer priotize questions to be answered.Other users can vote on asked questions.
This project is managed using a pivotal tracker board. View the board here
1.users can get all meetups
2.users can get a specific meetups
3.users can post a question to a specific meetup
4.users can downvote a question
5.users can upvote a question
6.admin user can post a meetup
- Python3
- Flask
- Postman
- Clone this repository
https://github.com/bencyn/Questioner.git
- Navigate to the cloned repository
cd Questioner
- Create a virtual environment
virtualenv -p python3 venv
- Activate the virtual environment
source venv/bin/activate
- Install git
sudo apt-get install git-all
- Switch to 'develop' branch
git checkout develop
- Install requirements
pip install -r requirements.txt
python3 run.py
Endpoint | Method | description |
---|---|---|
/api/v2/auth/signup | POST | add a new user |
/api/v2/auth/login | POST | User Login token |
/api/v2/auth/all | GET | get alls users |
/api/v2/auth/ | GET | get user by id |
# Endpoint | # Methods | # Description | Auth Required |
---|---|---|---|
/api/v2/auth//meetups | GET | post a meetup | admin |
/api/v2/meetups/upcoming/ | GET | get upcoming meetups | normal user |
/api/v2/meetups/ | DELETE | delete meetup | normal user |
/api/v2/meetups/ | GET | get specific meetup | normal user |
/api/v2/meetups/questions | POST | post meetup question | logged in normal user |
/api/v2/questions/downvote | PATCH | downvote a question | logged in normal user |
/api/v2/questions/upvote | PATCH | upvote a question | logged in normal user |
/api/v2/questions/comments | POST | post a comment | logged in normal user |
/api/v2/questions/all | GET | display all questions | norma user |
Benson Njung'e - Initial work-becnyn
- Andela Workshops
- Team members