7 Commits

Author SHA1 Message Date
Leo
b3e2533ec0 Merge branch 'main' of https://github.com/Newtbot/MP 2024-01-27 05:54:35 +08:00
newtbot
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
Leo
dae836e49b update 2024-01-24 15:51:51 +08:00
Leo
409e647646 update 2024-01-22 16:35:06 +08:00
Leo
58d3fcaadc update 2024-01-21 14:31:08 +08:00
Leo
9b7de43534 update 2024-01-21 04:33:06 +08:00
newtbot
d2ad32e6d6 added api page
added login
added api.ejs
added middleware for authorization check
2024-01-21 03:58:03 +08:00