Design of Wearable Electronics Applications, CS3043701 course of NTUST in 2018.
- read data from MCS and HTML5-GPS.(2018-06-10)
- flush every minutes.(2018-06-12)
- write the data into database.(2018-06-12)
- read the data from database.(2018-06-13)
- solve the https quesion about accessing GPS only by HTML5.(2018-06-17)
- deploy the server.(2018-06-17)
- compute GPS in one city.(2018-06-20)
- compyte stepFrequency of one user.(2018-06-20)
- front end pages.(2018-06-24)
- update the server and test.(2018-06-25)
sudo pip3 install mysqlclient
source ./documents/database/version1.0.sql;
DROP TABLE user;
DELETE FROM user where id = 3;
INSERT INTO user (nickname, age, gender, city, location, longitude, latitude, stepFrequency, heartBeat) VALUES ( "A2", "22", "0", "taipei", "daan", "","", "", "" );
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");
UPDATE user SET gender='1' WHERE id= 4 ;
UPDATE user SET stepFrequency='1' WHERE nickname="A1";
UPDATE user SET heartBeat='1' WHERE nickname="A1";