/InterMatching

InterMatching is a datingapp based on interests.

Primary LanguageJavaScriptMIT LicenseMIT

InterMatching

InterMatching is a datingapp where you look for a match based on interests. This can be hobby's, your favourite music, bucketlist goals ect. Look for interests that appeal to you, like them and who knows you might meet your dream match!

readme

Feature

The user can create a profile and indicate preferences such as age and gender. Each user places 6 interests with an image on his profile. This can always be changed later. All the data is stored in the MongoDB database.

If you like 4 interests of each other, you are a match! Now you can see the profile from your match, the things you like about each other and say hi.

Research

What are my ideas based on? Why have I made certain choices? You can read it in my Wiki

Installation

  1. Open up your terminal

  2. Go to the file in your computer where you want to install the application

  3. Type

Git clone https://github.com/marissaverdonck/InterMatching.git
  1. Install the dependecies
npm install
  1. To get the application up and running
npm run start

Usage

Go in to the file where you installed the application and start Nodemon in your terminal

nodemon server.js

Open a new terminaltab and start Mongodb

mongod

Create an .gitignore file with the following content:

node_modules
package-lock.json
.DS_Store
.vscode
.eslintrc.js
/static/upload/*
!*.gitkeep
*/.DS_Store
**/.DS_Store
.env
db

Create an .env file with the following content:

DB_HOST=localhost
DB_USER=root
DB_PORT=27017
DB_NAME=InterMatching
DB_PASSWORD=mypassword
SESSION_SECRET=<fill in something nice>

Database structure

Every user creates an account. The data is stored in MongoDB. The data consists of a username, age, place of residence, preferences, a profile photo and interests. The interests are placed in arrays, one for the names and one for the photos.

Schermafbeelding 2019-06-05 om 22 41 29

License

MIT License