bencyn / Questioner

Questioner is a questions crowd-source for meetups.The platform helps meetup organizer priotize questions to be answered.Other users can vote on asked questions.

Home Page:https://bencyn.github.io/Questioner/UI/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Questioner

Questioner is a platform that allows users to crowdsource questions for a meetup.

Badges

Build Status Coverage Status Maintainability

Overview

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

HEROKU LINK

HEROKU API

Documentation

Features

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

Pre-requisites

  1. Python3
  2. Flask
  3. Postman

Getting started

  1. Clone this repository
    https://github.com/bencyn/Questioner.git
  1. Navigate to the cloned repository
    cd Questioner

Installation

  1. Create a virtual environment
    virtualenv -p python3 venv
  1. Activate the virtual environment
    source venv/bin/activate
  1. Install git
    sudo apt-get install git-all
  1. Switch to 'develop' branch
    git checkout develop
  1. Install requirements
    pip install -r requirements.txt

Run the application

    python3 run.py

When you run this application, you can test the following API endpoints using postman

API Auth

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

API Endpoints

# 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

Authors

Benson Njung'e - Initial work-becnyn

Acknowledgements

  1. Andela Workshops
  2. Team members

About

Questioner is a questions crowd-source for meetups.The platform helps meetup organizer priotize questions to be answered.Other users can vote on asked questions.

https://bencyn.github.io/Questioner/UI/


Languages

Language:Python 100.0%