not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
586 B

6 years ago
6 years ago
6 years ago
6 years ago
  1. # GoogleTrendsGame
  2. Guess the trends beat your friends
  3. ## Server dependencies
  4. ````
  5. npm init
  6. npm install express
  7. npm install socket.io
  8. npm install mysql
  9. npm install sanitizer
  10. npm install google-trends-api
  11. npm install promise
  12. ````
  13. ##Database Construction
  14. create database googleTrends;
  15. create table users(
  16. user_id mediumint unsigned not null AUTO_INCREMENT,
  17. name varchar(30) not null,
  18. primary key(user_id)
  19. );
  20. create table data(
  21. data_id mediumint unsigned not null AUTO_INCREMENT,
  22. user_id mediumint unsigned not null,
  23. word varchar(100) not null,
  24. primary key(data_id)
  25. );