Giter Club home page Giter Club logo

friendfinder's Introduction

FriendFinder

Node and Express Servers dating app

Overview

  1. A compatibility-based "FriendFinder" application -- basically a dating app.
  2. This full-stack site will take in results from your users' surveys, then compare their answers with those from other users.
  3. The app will then display the name and picture of the user with the best overall match.

Library Used

  1. express
  2. body-parser
  3. path

Technology Used:

  1. Used Express to handle routing
  2. Javascript
  3. Jquery
  4. Ajax
  5. Nodejs

Hosting

  1. Used Heroku for deployment for our backend application

How the application works:

  1. It will determine the user's most compatible friend using the following as a guide:
  • Convert each user's results into a simple array of numbers (ex: [5, 1, 4, 4, 5, 1, 2, 5, 4, 1]).
  • With that done, compare the difference between current user's scores against those from other users, question by question. Add up the differences to calculate the totalDifference.
  • Example: User 1: [5, 1, 4, 4, 5, 1, 2, 5, 4, 1] User 2: [3, 2, 6, 4, 5, 1, 2, 5, 4, 1] Total Difference: 2 + 1 + 2 = 5
  • Used the absolute value of the differences. Put another way: no negative solutions! Your app should calculate both 5-3 and 3-5 as 2, and so on.
  • The closest match will be the user with the least amount of difference.
  1. Once you've found the current user's most compatible friend, display the result as a modal pop-up.
  • The modal should display both the name and picture of the closest match.

Getting started:

  1. Clone this repo in your computer
  2. Initialize a package.json file at your project root by running npm init
  3. Install all the library(npm packages) used
  4. Run node server.js
  5. Go to localhost:3000 in your web browser.

OR

  1. Click this for the heroku link

Sample Screenshots:

  1. screen shot 2018-02-08 at 10 28 06 am

  2. screen shot 2018-02-08 at 10 31 45 am

  3. screen shot 2018-02-08 at 10 33 02 am

  4. screen shot 2018-02-08 at 10 33 53 am

Copyright

Copyright © 2018 Shirley Ramirez

friendfinder's People

Contributors

shirleymramirez avatar

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.