Jesse Gliesman 5de0c58d0b | 7 years ago | |
---|---|---|
googletrendsgame | 7 years ago | |
words | 7 years ago | |
.DS_Store | 7 years ago | |
README.md | 7 years ago | |
game.html | 7 years ago |
Guess the trends beat your friends
npm init
npm install express
npm install socket.io
npm install mysql
npm install sanitizer
npm install google-trends-api
npm install promise
##Database Construction create database googleTrends;
create table users( user_id mediumint unsigned not null AUTO_INCREMENT, name varchar(30) not null, primary key(user_id) );
create table data( data_id mediumint unsigned not null AUTO_INCREMENT, user_id mediumint unsigned not null, word varchar(100) not null, primary key(data_id) );