12 Commits

Author SHA1 Message Date
newtbot
129ca202c0 Update API routes and sensor data functionality And API.ejs 2024-01-30 02:59:14 +08:00
newtbot
d491750916 Fix database model associations and update API route 2024-01-27 20:15:29 +08:00
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
BIG2EYEZ
d4149cebbf edited the api.ejs file 2024-01-25 17:30:55 +08:00
Leo
dae836e49b update 2024-01-24 15:51:51 +08:00
newtbot
5b262eb803 Add JavaScript files and edit profile CSS
1) finished edit profile with delete profile
2024-01-23 01:44:11 +08:00
Leo
409e647646 update 2024-01-22 16:35:06 +08:00
Leo
7dceee0b79 Merge branch 'main' of https://github.com/Newtbot/MP 2024-01-22 14:37:27 +08:00
newtbot
3c8dd68473 Refactor API key validation logic
Added API page documentation
2024-01-22 03:23:48 +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