A real-time privacy-first social media platform leveraging feature-rich direct messaging text channels. Built as part of the course project for COSC 310 at UBC.
added a new onClick function, adminPromotion within Components/Server that takes in information from each of the modal of the member list, and pops a notification for the results of the promotion (or, the failed promotion)
added a new API admin-promotion.ts to communicate and facilitate with our database, and process the information to decide either add the ID to the adminIDs array (which keep tracks of the admins in that text channel, sends back a message that display how the promotion was denied, or an error failing to establish connection with the DB / API
added
a new onClick function,adminPromotion
withinComponents/Server
that takes in information from each of the modal of the member list, and pops a notification for the results of the promotion (or, the failed promotion)added
a new APIadmin-promotion.ts
to communicate and facilitate with our database, and process the information to decide either add the ID to the adminIDs array (which keep tracks of the admins in that text channel, sends back a message that display how the promotion was denied, or an error failing to establish connection with the DB / APIScreenshots of the notification in action