项目作者: 0lidaxiang

项目描述 :
Design of Wearable Electronics Applications, CS3043701 course of NTUST in 2018.
高级语言: CSS
项目地址: git://github.com/0lidaxiang/offlineFriends.git
创建时间: 2018-06-12T03:20:26Z
项目社区:https://github.com/0lidaxiang/offlineFriends

开源协议:Apache License 2.0

下载


offline-friends

Design of Wearable Electronics Applications, CS3043701 course of NTUST in 2018.

task

  1. read data from MCS and HTML5-GPS.(2018-06-10)
  2. flush every minutes.(2018-06-12)
  3. write the data into database.(2018-06-12)
  4. read the data from database.(2018-06-13)
  5. solve the https quesion about accessing GPS only by HTML5.(2018-06-17)
  6. deploy the server.(2018-06-17)
  7. compute GPS in one city.(2018-06-20)
  8. compyte stepFrequency of one user.(2018-06-20)
  9. front end pages.(2018-06-24)
  10. update the server and test.(2018-06-25)

library

  1. sudo pip3 install mysqlclient

database

  1. source ./documents/database/version1.0.sql;
  2. DROP TABLE user;
  3. DELETE FROM user where id = 3;
  4. INSERT INTO user (nickname, age, gender, city, location, longitude, latitude, stepFrequency, heartBeat) VALUES ( "A2", "22", "0", "taipei", "daan", "","", "", "" );
  5. INSERT INTO user (nickname, age, gender, city, location, longitude, latitude, stepFrequency, heartBeat, stepStartTime, hobby) VALUES ( "A1", "24", "1", "taipei", "daan", "","", "", "" , "", "read novel, draw"), ( "A2", "22", "0", "taipei", "daan", "","", "", "" , "", "read novel");
  6. UPDATE user SET gender='1' WHERE id= 4 ;
  7. UPDATE user SET stepFrequency='1' WHERE nickname="A1";
  8. UPDATE user SET heartBeat='1' WHERE nickname="A1";