Skip to content

Concordia University 2015 - Simple Twitter poll extension on utilizing the search the API for responses.

License

Notifications You must be signed in to change notification settings

jacobrs/hackday2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hackday2015

Project worked on at HackDay in 2015

Demo: here

Screenshots

Make a Survey

screen shot 2015-10-14 at 2 45 29 am

View results (could contain pre existing results)

screen shot 2015-10-14 at 2 46 50 am

Ask people to vote

screen shot 2015-10-14 at 2 47 04 am

database dump

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

CREATE DATABASE IF NOT EXISTS `twitter_surveys` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
USE `twitter_surveys`;

CREATE TABLE `Options` (
`ID` int(15) NOT NULL,
  `Name` varchar(140) COLLATE utf8mb4_unicode_ci NOT NULL,
  `SurveyID` int(15) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE `Surveys` (
`SurveyID` int(15) NOT NULL,
  `SurveyTag` varchar(140) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

ALTER TABLE `Options`
 ADD PRIMARY KEY (`ID`);

ALTER TABLE `Surveys`
 ADD PRIMARY KEY (`SurveyID`);

ALTER TABLE `Options`
MODIFY `ID` int(15) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;

ALTER TABLE `Surveys`
MODIFY `SurveyID` int(15) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;

About

Concordia University 2015 - Simple Twitter poll extension on utilizing the search the API for responses.

Resources

License

Stars

Watchers

Forks

Packages

No packages published