aimpowered / LibOrate

A videoconferencing companion app developed by AImpower.org to provide emotional and relational support during videoconferencing.
https://liborate-alpha.vercel.app
MIT License
0 stars 2 forks source link

Add logging of user actions: Issue 74 #97

Closed charansr closed 1 month ago

charansr commented 1 month ago

I added a logging functionality to the code that sent logs to another folder of the MongoDB database. Currently, it logs user sign-ups, user sign-ins, and changes in the nametag display state. Below are screenshots showing how each log entry appears in the MongoDB database. The log entries all follow the general format of:

userEmail: string; action: string; timestamp: Datetime at time of logging; metadata: JSON string pertaining to the type of log;

Screenshot 2024-09-26 at 12 31 11 AM Screenshot 2024-09-26 at 12 31 07 AM Screenshot 2024-09-26 at 12 31 02 AM Screenshot 2024-09-26 at 12 30 56 AM Screenshot 2024-09-26 at 12 30 45 AM Screenshot 2024-09-26 at 12 32 49 AM

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
liborate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 2:04pm
liborate-alpha ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 2:04pm
zoom-companion-shaomei-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 2:04pm
zoom-companion-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 2:04pm
charansr commented 1 month ago

The Vercel code works here, and the code successfully deploys. However, "npm ci" fails here but works on my local device. I've tried deleting package-lock.json and node-models and reinstalling them. I've used node versions 21.5, 20.17, and 18.20.4. I've also tried running "npm audit fix." Do you have any advice?