Commit Graph

8 Commits

Author SHA1 Message Date
d491750916 Fix database model associations and update API route 2024-01-27 20:15:29 +08:00
c234aa3616 Add nodemailer configuration and console.log statement
Update formAJAX function to log data from the server
Add getUserByEmail and checkEmail functions
Update profile.ejs to require login
Update addSensorData function to emit new sensor data
Update api.css with styling changes
Update token route to generate and send token email
Update authChecker middleware to allow user and token routes
2024-01-27 04:52:02 +08:00
d38423fa6d Update CSS, add relationship between sensorModel and locationModel, and remove console.log statements 2024-01-26 04:07:11 +08:00
ba498a4d4b BLAH stupid middleware error 2024-01-25 05:11:28 +08:00
057fbe2afb iotsensor fixed but session valid broken 2024-01-25 03:26:56 +08:00
7403f66c8a more fix 2024-01-24 16:01:30 +08:00
d0aeab286a a 2024-01-24 14:37:57 +08:00
e710fa15a1 overhaul 2024-01-24 14:21:13 +08:00