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.
Delivered critical hotfixes that would otherwise cause a chained series of critical issues to our application development (like duplicate MongoDB accounts, inability to delete accounts, etc.)
Patched duplicate account creation in MongoDB due to Clerk sending multiple "Account created" alerts to our webhook endpoint (clerk-mongodb-sync.ts now checks if the account already exists in our database)
Fixed direct messaging using the internal id instead of the username
Patched a critical issue where the npm run accord command in package.json was launching the wrong ngrok server (the randomly generated one instead of the static domain, hence we were effectively creating 2 servers each time if you would run the ngrok command for the static server I created before doing npm run accord).
Summary of Changes
clerk-mongodb-sync.ts
now checks if the account already exists in our database)delete-user.ts
)npm run accord
command inpackage.json
was launching the wrongngrok
server (the randomly generated one instead of the static domain, hence we were effectively creating 2 servers each time if you would run thengrok
command for the static server I created before doingnpm run accord
).