Giter Club home page Giter Club logo

friendfinder's Introduction

FriendFinder

Introduction

Hello! FriendFinder is a web application that connects users with their most compatible friend from an existing set of candidates. A user enters the program and answers a few survey questions, scoring each from 1 to 5 and is then matched with another user that has the least amount of differences in their question answers. The algorithm to match users takes into account the difference in score for each question, calculates the cumulative difference and then compares this cumulative difference to other differences calculated from other potential matches. The user is matched with someone who has the least cumulative difference out of the existing candidates. The current user's answers and data are then stored in a local array with the other candidates, so new users can potentially be matched with even more candidates. The current candidates are Harry Potter characters, because who doesn't love Harry Potter? :)

Please read on for more information!

Technologies

Node.js - JavaScript if/else statements, loops, module import, client data gathering
Express - get/post routing
HTML and CSS - Bootstrap for styling, survey construction and modals

Methodology

The general methodology for this project involving gathering user input, constructing an array of answers and then comparing that answers array with existing user's answers array. The match was calculated using the algorithm described above.

However, the most crucial part of the application was working with node.js and express to start a local server and construct get and post routes to handle user entered urls and user inputs. This was my first full stack project and required that I not only master backend logic but also do so by connecting various files that separated routes and stored data.

Please reach out with any questions!

friendfinder's People

Contributors

rahulrajdev avatar rraj13 avatar

Stargazers

 avatar

Watchers

 avatar

friendfinder's Issues

Grade Comments

Code looks good, site works and looks good; great job using const and let, but still saw a couple vars in there, get them out. More important, ADD THE DS_STORE AND THE NODE_MODULES TO YOUR GIT IGNORE!!!!!

From a code design perspective, eventually you'll want to do things like decouple your logic from your route, so you would export a module that does the matching functionality and then import that module in your route, handing the pertinent request stuff into the module and getting back something to respond to the request with.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.