Skip to content

This application quizzes users on their temperaments and matches them to the person from in-memory storage with the most similar answers based on their inputs.

Notifications You must be signed in to change notification settings

dayadam/FriendFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FriendFinder

This application quizzes users on their temperaments and matches them to the person from in-memory storage with the most similar answers based on their inputs.

Table of Contents

Organization of the Application

The application uses Bootstrap for the user interface. The application has an existing JavaScript file with an array of existing friends, including an array of their scores. The application will intake the data from the user and turn their scores into an array and send this to the server with an AJAX request. The application then takes the user's input scores and parses them. The software creates a new array of arrays of comparisons between the existing friends' scores and the user's inputted scores. From this new array, the application sends the most similar friend to the client side and displays it to the user. The program saves the user's inputs into the existing friend data. Express handles routing in the node backend. jQuery handles DOM manipulation.

Getting Started

In order for this application to run on your local computer, you must have Node.js installed as well as the required node modules.

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Node.js and express packages are required to run this application locally.

Clone

  • Clone this repo to your local machine using https://github.com/dayadam/FriendFinder.git

Installation

Install Node and packages

install npm packages

$ npm install

Usage

At the home screen, users can click the "Start survey" button to start the survey. Users can then fill out all the input fields and click the "Submit" button to enter their results. A modal will then pop up displaying the users' most similar friend match.

Built With

  • Node.js - Server runtime environment for JavaScript
  • Express.js - Fast, unopinionated, minimalist web framework for node.
  • jQuery - Fast, small, and feature-rich JavaScript library
  • Bootstrap - CSS framework directed at responsive, mobile-first front-end web development

Authors

Acknowledgments

  • Thanks to all the open source contributors that helped with the building blocks of this project.

About

This application quizzes users on their temperaments and matches them to the person from in-memory storage with the most similar answers based on their inputs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published