You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this ticket, you are tasked with implementing the createMatch() function in /backend/src/index.ts.
This function creates a match between a tutor and tutee given their ids by first checking if they both exist in the unmatched table and then creating a new row in the approved_matches table.
Deliverables 🚀
Schedule at least two meetings as a pair
Create a new branch using the "create a branch" button
Categorizing the tutees as matched and unmatched
Summary 💻
For this ticket, you are tasked with implementing the
createMatch()
function in/backend/src/index.ts
.This function creates a match between a tutor and tutee given their ids by first checking if they both exist in the
unmatched
table and then creating a new row in theapproved_matches
table.Deliverables 🚀
Tips for success 📈
unmatched
table, your function should throw an error.unmatched
table, move those ids to thematched
table and add a row in theapproved_matches
table that contains both ids.unmatched
andmatched
tables are ok.Where to get help!
Reach out to @dilanurbayraktar and @brandondionisio.
The text was updated successfully, but these errors were encountered: