Skip to content

Repository files navigation

Build StatusCoverage StatusMaintainability

Heroku Link

Click Here

Sample Tasks

Pivotal Tracker Board Stories

API Documentation

API Documentation

Project Overview

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.

Questioner API Endpoints

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

Setting up your system

Install python

Getting Started

Clone the repository :

git clone https://github.com/blairt001/Questioner.git

cd into the repository

Set up Virtualenv: virtualenv venv

Activate virtualenv: source venv/bin/activate

Install requirements.txt

pip install -r requirements.txt

Running the Application

Follow the following procedures:

export  FLASK_ENV="development"
export FLASK_APP="manage.py"
export APP_SETTINGS="development"
python manage.py runserver

Unit Testing

On the terminal execute python -m pytests

Testing API Endpoints:

Use Postman

License

MIT LICENSE

Credits

Andela

Developer

Tony Blair.

About

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 bottom of the log.

Resources

Code of conduct

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages