ae-andre / insights-bench

An online community of conversation, built with the MERN stack, that will allow those with personal, financial or career-related problems to talk them through with others, in either a private or a public channel.
MIT License
0 stars 3 forks source link

Matchingalgorithm #63

Closed kwubbenhorst closed 8 months ago

kwubbenhorst commented 8 months ago

I sent up the code in resolvers which creates a conversation including matching logic in a previous pull request, but forgot to include the function that actually does the matching! I created this in a new file in the server side utils folder so it wouldn't conflict with anything else. It can't be used as is because I was envisioning a a project with a category schema and some different field names but perhaps it can be adapted. I share it with the idea that it might be a resource for Tiffany as she works on the add-a-conversation piece. We don't need to include the very difficult third step at all if we are not matching for personality. I haven't actually tested this to see if it works properly.